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

Method RemoveFilteredPolicyCtx

persist/adapter_context.go:38–38  ·  view source on GitHub ↗

RemoveFilteredPolicyCtx removes policy rules that match the filter from the storage with context. This is part of the Auto-Save feature.

(ctx context.Context, sec string, ptype string, fieldIndex int, fieldValues ...string)

Source from the content-addressed store, hash-verified

36 // RemoveFilteredPolicyCtx removes policy rules that match the filter from the storage with context.
37 // This is part of the Auto-Save feature.
38 RemoveFilteredPolicyCtx(ctx context.Context, sec string, ptype string, fieldIndex int, fieldValues ...string) error
39}

Implementers 3

ContextEnforcerenforcer_context.go
Adapterpersist/file-adapter/adapter.go
Adapterpersist/string-adapter/adapter.go

Calls

no outgoing calls

Tested by

no test coverage detected