(ctx context.Context, sec string, ptype string, rules [][]string)
| 381 | } |
| 382 | |
| 383 | func (e *ContextEnforcer) SelfAddPoliciesExCtx(ctx context.Context, sec string, ptype string, rules [][]string) (bool, error) { |
| 384 | return e.addPoliciesWithoutNotifyCtx(ctx, sec, ptype, rules, true) |
| 385 | } |
| 386 | |
| 387 | // SelfRemovePolicyCtx removes a policy rule from the current policy with context. |
| 388 | func (e *ContextEnforcer) SelfRemovePolicyCtx(ctx context.Context, sec string, ptype string, rule []string) (bool, error) { |
nothing calls this directly
no test coverage detected