Path: / API / managementAPI / setRuleTypePolicy / {ruleType} / {newPolicy}

Update a rule type policy.

Path parameters:
ruleType - the rule type
newPolicy - the {@link PrivilegePolicy} to apply to the rule type PrivilegePolicy.ALLOW_BY_DEFAULT: Means that by default all entities are allowed to act on everything. Except the items listed in rules.
PrivilegePolicy.DENY_BY_DEFAULT: Means that by default all entities are NOT allowed to act on anything. Except the items explicitly listed in rules.

Method Summary
ResourceDescription
POST /API/managementAPI/setRuleTypePolicy/{ruleType}/{newPolicy}Update a rule type policy.

Method Detail
HTTP Example:
POST /API/managementAPI/setRuleTypePolicy/{ruleType}/{newPolicy}

options=
API Example:

AbstractRemoteManagementAPI.setRuleTypePolicy({'ruleType': /* ruleType the rule type */,
  'newPolicy': /* newPolicy the PrivilegePolicy to apply to the rule type PrivilegePolicy.ALLOW_BY_DEFAULT: Means that by default all entities are allowed to act on everything. */,
  'options': /* options the options map (domain, queyList, user) */});

Update a rule type policy.

Output:
void
Form parameters:
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml