Sha256: 1625ca6473a1ab89671448b13bb8765b3cfa1b1ee039169da29fcced0139f2db
Contents?: true
Size: 437 Bytes
Versions: 7
Compression:
Stored size: 437 Bytes
Contents
# Behavior for the my controller search builder to allow the my controller to only get access to # items I have edit access to. # # Separating as a behavior allows for easier overriding of the gem behavior. module Sufia::MySearchBuilderBehavior extend ActiveSupport::Concern # show only files with edit permissions in lib/hydra/access_controls_enforcement.rb apply_gated_discovery def discovery_permissions ["edit"] end end
Version data entries
7 entries across 7 versions & 1 rubygems