app/controllers/api_controller/policies.rb
def policy_unassign(object, ctype, policy)
      object.remove_policy(policy)
      action_result(true, "Unassigning #{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
Policies and Policy Profiles Subcollection Supporting Methods
def policy_unassign(object, ctype, policy)
      object.remove_policy(policy)
      action_result(true, "Unassigning #{policy_ident(ctype, policy)}")
    rescue => err
      action_result(false, err.to_s)
    end
def policy_unassign ( object , ctype , policy ) object . remove_policy ( policy ) action_result ( true , "Unassigning #{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
ctype
policy