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

Method UpdateForUpdatePolicies

persist/watcher_update.go:25–25  ·  view source on GitHub ↗

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

(sec string, ptype string, oldRules, newRules [][]string)

Source from the content-addressed store, hash-verified

23 // UpdateForUpdatePolicies calls the update callback of other instances to synchronize their policy.
24 // It is called after Enforcer.UpdatePolicies()
25 UpdateForUpdatePolicies(sec string, ptype string, oldRules, newRules [][]string) error
26}

Callers 4

updatePoliciesMethod · 0.80
updatePoliciesCtxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected