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_resolve(object, ctype, policy)
      res = (ctype == :policies) ? object.resolve_policies([policy.name]) : object.resolve_profiles([policy.id])
      action_result(true, "Resolving #{policy_ident(ctype, policy)}", :result => res)
    rescue => err
      action_result(false, err.to_s)
    end
def policy_resolve ( object , ctype , policy ) res = ( ctype == :policies ) ? object . resolve_policies ( [ policy . name ] ) : object . resolve_profiles ( [ policy . id ] ) action_result ( true , "Resolving #{policy_ident(ctype, policy)}" , :result => res ) 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>