app/controllers/api_controller/policies.rb
#
# Policies and Policy Profiles Subcollection Supporting Methods
#
Policies and Policy Profiles Subcollection Supporting Methods
Policies and Policy Profiles Subcollection Supporting Methods
def policy_assign_action(object, ctype, id, data)
      klass  = collection_class(ctype)
      policy = policy_specified(id, data, ctype, klass)
      policy_subcollection_action(ctype, policy) do
        api_log_info("Assigning #{policy_ident(ctype, policy)}")
        policy_assign(object, ctype, policy)
      end
    end
def policy_assign_action ( object , ctype , id , data ) klass = collection_class ( ctype ) policy = policy_specified ( id , data , ctype , klass ) policy_subcollection_action ( ctype , policy ) do api_log_info ( "Assigning #{policy_ident(ctype, policy)}" ) policy_assign ( object , ctype , policy ) end end
Policies and Policy Profiles Subcollection Supporting Methods
Policies and Policy Profiles Subcollection Supporting Methods
object
<not_specific>
ctype
<not_specific>
id
<not_specific>
data
<not_specific>