spec/apps/dummy/app/models/mock_user.rb in scimitar-1.3.1 vs spec/apps/dummy/app/models/mock_user.rb in scimitar-1.3.3
- old
+ new
@@ -90,14 +90,17 @@
return nil
end
def self.scim_queryable_attributes
return {
- 'name.givenName' => { column: :first_name },
- 'name.familyName' => { column: :last_name },
- 'emails' => { columns: [ :work_email_address, :home_email_address ] },
- 'emails.value' => { columns: [ :work_email_address, :home_email_address ] },
- 'emails.type' => { ignore: true } # We can't filter on that; it'll just search all e-mails
+ 'id' => { column: :id },
+ 'externalId' => { column: :scim_uid },
+ 'meta.lastModified' => { column: :updated_at },
+ 'name.givenName' => { column: :first_name },
+ 'name.familyName' => { column: :last_name },
+ 'emails' => { columns: [ :work_email_address, :home_email_address ] },
+ 'emails.value' => { columns: [ :work_email_address, :home_email_address ] },
+ 'emails.type' => { ignore: true } # We can't filter on that; it'll just search all e-mails
}
end
include Scimitar::Resources::Mixin
end