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

Method shouldNotify

internal_api.go:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func (e *Enforcer) shouldNotify() bool {
35 return e.watcher != nil && e.autoNotifyWatcher
36}
37
38// validateConstraintsForGroupingPolicy validates constraints for grouping policy changes.
39// It returns an error if constraint validation fails.

Callers 15

addPolicyMethod · 0.95
addPoliciesMethod · 0.95
removePolicyMethod · 0.95
updatePolicyMethod · 0.95
updatePoliciesMethod · 0.95
removePoliciesMethod · 0.95
removeFilteredPolicyMethod · 0.95
addPolicyCtxMethod · 0.80
addPoliciesCtxMethod · 0.80
updatePolicyCtxMethod · 0.80
updatePoliciesCtxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected