Module: Blacklight::AccessControls::Ability::ClassMethods

Defined in:
lib/blacklight/access_controls/ability.rb

Instance Method Summary collapse

Instance Method Details

#discover_group_fieldObject



166
167
168
# File 'lib/blacklight/access_controls/ability.rb', line 166

def discover_group_field
  Blacklight::AccessControls.config.discover_group_field
end

#discover_user_fieldObject



170
171
172
# File 'lib/blacklight/access_controls/ability.rb', line 170

def discover_user_field
  Blacklight::AccessControls.config.discover_user_field
end

#download_group_fieldObject



182
183
184
# File 'lib/blacklight/access_controls/ability.rb', line 182

def download_group_field
  Blacklight::AccessControls.config.download_group_field
end

#download_user_fieldObject



186
187
188
# File 'lib/blacklight/access_controls/ability.rb', line 186

def download_user_field
  Blacklight::AccessControls.config.download_user_field
end

#read_group_fieldObject



174
175
176
# File 'lib/blacklight/access_controls/ability.rb', line 174

def read_group_field
  Blacklight::AccessControls.config.read_group_field
end

#read_user_fieldObject



178
179
180
# File 'lib/blacklight/access_controls/ability.rb', line 178

def read_user_field
  Blacklight::AccessControls.config.read_user_field
end