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

Method UpdateForRemoveFilteredPolicy

persist/watcher_ex.go:30–30  ·  view source on GitHub ↗

UpdateForRemoveFilteredPolicy calls the update callback of other instances to synchronize their policy. It is called after Enforcer.RemoveFilteredNamedGroupingPolicy()

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

Source from the content-addressed store, hash-verified

28 // UpdateForRemoveFilteredPolicy calls the update callback of other instances to synchronize their policy.
29 // It is called after Enforcer.RemoveFilteredNamedGroupingPolicy()
30 UpdateForRemoveFilteredPolicy(sec, ptype string, fieldIndex int, fieldValues ...string) error
31 // UpdateForSavePolicy calls the update callback of other instances to synchronize their policy.
32 // It is called after Enforcer.RemoveFilteredNamedGroupingPolicy()
33 UpdateForSavePolicy(model model.Model) error

Callers 2

removeFilteredPolicyMethod · 0.65

Implementers 1

SampleWatcherExwatcher_ex_test.go

Calls

no outgoing calls

Tested by

no test coverage detected