Module: Blacklight::AccessControls::User

Extended by:
ActiveSupport::Concern
Defined in:
lib/blacklight/access_controls/user.rb

Instance Method Summary collapse

Instance Method Details

#user_keyObject

This method should display the unique identifier for this user as defined by devise. The unique identifier is what access controls will be enforced against.



19
20
21
# File 'lib/blacklight/access_controls/user.rb', line 19

def user_key
  send(Devise.authentication_keys.first)
end