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

Method RemoveFilteredPolicy

persist/adapter.go:78–78  ·  view source on GitHub ↗

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

(sec string, ptype string, fieldIndex int, fieldValues ...string)

Source from the content-addressed store, hash-verified

76 // RemoveFilteredPolicy removes policy rules that match the filter from the storage.
77 // This is part of the Auto-Save feature.
78 RemoveFilteredPolicy(sec string, ptype string, fieldIndex int, fieldValues ...string) error
79}

Implementers 6

MockTransactionalAdaptertransaction_test.go
Enforcerenforcer.go
SyncedEnforcerenforcer_synced.go
Adapterpersist/file-adapter/adapter.go
AdapterMockpersist/file-adapter/adapter_mock.go
Adapterpersist/string-adapter/adapter.go

Calls

no outgoing calls

Tested by

no test coverage detected