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.
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)