(oldRule []string, newRule []string)
| 458 | } |
| 459 | |
| 460 | func (e *Enforcer) UpdateGroupingPolicy(oldRule []string, newRule []string) (bool, error) { |
| 461 | return e.UpdateNamedGroupingPolicy("g", oldRule, newRule) |
| 462 | } |
| 463 | |
| 464 | // UpdateGroupingPolicies updates authorization rules from the current policies. |
| 465 | func (e *Enforcer) UpdateGroupingPolicies(oldRules [][]string, newRules [][]string) (bool, error) { |