Module: Blacklight::AccessControls::PermissionsQuery
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/blacklight/access_controls/permissions_query.rb
Instance Method Summary collapse
- #permissions_doc(pid) ⇒ Object
-
#permissions_document_class ⇒ Object
This is only valid for, and should only be used for blacklight 6.
Instance Method Details
#permissions_doc(pid) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/blacklight/access_controls/permissions_query.rb', line 7 def (pid) doc = cache.get(pid) unless doc doc = (pid) cache.put(pid, doc) end doc end |
#permissions_document_class ⇒ Object
This is only valid for, and should only be used for blacklight 6
17 18 19 |
# File 'lib/blacklight/access_controls/permissions_query.rb', line 17 def blacklight_config.document_model end |