lib/blacklight/access_controls/ability.rb
# You can override this method if you are using a different AuthZ (such as LDAP)
You can override this method if you are using a different AuthZ (such as LDAP)
You can override this method if you are using a different AuthZ ( such as LDAP )
def user_groups
        return @user_groups if @user_groups
        @user_groups = default_user_groups
        @user_groups |= current_user.groups if current_user.respond_to? :groups
        @user_groups |= ['uvic'] unless current_user.new_record? 
        @user_groups
      end
def user_groups return @user_groups if @user_groups @user_groups = default_user_groups @user_groups |= current_user . groups if current_user . respond_to? :groups @user_groups |= [ 'uvic' ] unless current_user . new_record? @user_groups end
You can override this method if you are using a different AuthZ (such as LDAP)
You can override this method if you are using a different AuthZ ( such as LDAP )
# ['registered']