class ActiveAdmin::AuthorizationAdapter
def scope_collection(collection, action = Auth::READ)
-
action(Symbol) -- The name of the action to perform. Usually this will be -
collection(ActiveRecord::Relation) -- The collection the user is
def scope_collection(collection, action = Auth::READ) collection end