MCPcopy Index your code
hub / github.com/apache/casbin / UpdateForRemovePolicy

Method UpdateForRemovePolicy

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

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

(sec, ptype string, params ...string)

Source from the content-addressed store, hash-verified

25 // UpdateForRemovePolicy calls the update callback of other instances to synchronize their policy.
26 // It is called after Enforcer.RemovePolicy()
27 UpdateForRemovePolicy(sec, ptype string, params ...string) error
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

Callers 2

removePolicyMethod · 0.65
removePolicyCtxMethod · 0.65

Implementers 1

SampleWatcherExwatcher_ex_test.go

Calls

no outgoing calls

Tested by

no test coverage detected