(sec string, ptype string, fieldIndex int, fieldValues ...string)
| 505 | } |
| 506 | |
| 507 | func (e *Enforcer) SelfRemoveFilteredPolicy(sec string, ptype string, fieldIndex int, fieldValues ...string) (bool, error) { |
| 508 | return e.removeFilteredPolicyWithoutNotify(sec, ptype, fieldIndex, fieldValues) |
| 509 | } |
| 510 | |
| 511 | func (e *Enforcer) SelfUpdatePolicy(sec string, ptype string, oldRule, newRule []string) (bool, error) { |
| 512 | return e.updatePolicyWithoutNotify(sec, ptype, oldRule, newRule) |
nothing calls this directly
no test coverage detected