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(object, ctype, policy)
      object.add_policy(policy)
      action_result(true, "Assigning #{policy_ident(ctype, policy)}")
    rescue => err
      action_result(false, err.to_s)
    end
def policy_assign ( object , ctype , policy ) object . add_policy ( policy ) action_result ( true , "Assigning #{policy_ident(ctype, policy)}" ) rescue => err action_result ( false , err . to_s ) end
Policies and Policy Profiles Subcollection Supporting Methods
Policies and Policy Profiles Subcollection Supporting Methods
object
<not_specific>
ctype
<not_specific>
policy
<not_specific>