app/models/ability.rb
# For fedora objects that have an admin policy assigned to
# them, some of the rights that a user will be granted are
# defined in the policy file: app/models/admin_policy.rb
For fedora objects that have an admin policy assigned to
them, some of the rights that a user will be granted are
defined in the policy file: app/models/admin_policy.rb
For fedora objects that have an admin policy assigned to them some of the rights that a user will be granted are defined in the policy file : app / models / admin_policy . rb
def rights_admin_permissions
    return unless user_groups.include?(AdminPolicy::RIGHTS_ADMIN)
    can :discover, Hydra::AccessControls::Embargo
    can :update_rights, [ActiveFedora::Base, SolrDocument, String]
  end
def rights_admin_permissions return unless user_groups . include? ( AdminPolicy :: RIGHTS_ADMIN ) can :discover , Hydra :: AccessControls :: Embargo can :update_rights , [ ActiveFedora :: Base , SolrDocument , String ] end
For fedora objects that have an admin policy assigned to
them, some of the rights that a user will be granted are
defined in the policy file: app/models/admin_policy.rb
For fedora objects that have an admin policy assigned to them some of the rights that a user will be granted are defined in the policy file : app / models / admin_policy . rb