MCPcopy
hub / github.com/apache/casbin / RemovePoliciesCtx

Method RemovePoliciesCtx

enforcer_context_interface.go:58–58  ·  view source on GitHub ↗
(ctx context.Context, rules [][]string)

Source from the content-addressed store, hash-verified

56
57 RemovePolicyCtx(ctx context.Context, params ...interface{}) (bool, error)
58 RemovePoliciesCtx(ctx context.Context, rules [][]string) (bool, error)
59 RemoveFilteredPolicyCtx(ctx context.Context, fieldIndex int, fieldValues ...string) (bool, error)
60 RemoveNamedPolicyCtx(ctx context.Context, ptype string, params ...interface{}) (bool, error)
61 RemoveNamedPoliciesCtx(ctx context.Context, ptype string, rules [][]string) (bool, error)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected