(sec string, ptype string, rules [][]string)
| 489 | } |
| 490 | |
| 491 | func (e *Enforcer) SelfAddPolicies(sec string, ptype string, rules [][]string) (bool, error) { |
| 492 | return e.addPoliciesWithoutNotify(sec, ptype, rules, false) |
| 493 | } |
| 494 | |
| 495 | func (e *Enforcer) SelfAddPoliciesEx(sec string, ptype string, rules [][]string) (bool, error) { |
| 496 | return e.addPoliciesWithoutNotify(sec, ptype, rules, true) |
nothing calls this directly
no test coverage detected