addGroupingPolicy method

bool addGroupingPolicy(
  1. List<String> params
)

addGroupingPolicy adds a role inheritance rule to the current policy. If the rule already exists, the function returns false and the rule will not be added. Otherwise the function returns true by adding the new rule.

params the "g" policy rule, ptype "g" is implicitly used. returns succeeds or not.

Implementation

bool addGroupingPolicy(List<String> params) {
  return addNamedGroupingPolicy('g', params);
}