(sec string, ptype string, oldRule, newRule []string)
| 509 | } |
| 510 | |
| 511 | func (e *Enforcer) SelfUpdatePolicy(sec string, ptype string, oldRule, newRule []string) (bool, error) { |
| 512 | return e.updatePolicyWithoutNotify(sec, ptype, oldRule, newRule) |
| 513 | } |
| 514 | |
| 515 | func (e *Enforcer) SelfUpdatePolicies(sec string, ptype string, oldRules, newRules [][]string) (bool, error) { |
| 516 | return e.updatePoliciesWithoutNotify(sec, ptype, oldRules, newRules) |
nothing calls this directly
no test coverage detected