app/models/auth_token.rb
# If the user can add new records, this will return a string array of the new
# RR types the user can add
If the user can add new records, this will return a string array of the new
RR types the user can add
If the user can add new records this will return a string array of the new RR types the user can add
def new_types
    return [] unless allow_new_records?
    Record.record_types - %w{ SOA NS } - self.permissions['protected_types']
  end
def new_types return [ ] unless allow_new_records? Record . record_types - %w{ SOA NS } - self . permissions [ 'protected_types' ] end
If the user can add new records, this will return a string array of the new
RR types the user can add
If the user can add new records this will return a string array of the new RR types the user can add
# build our list