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

Method SelfUpdatePolicy

enforcer_interface.go:161–161  ·  view source on GitHub ↗
(sec string, ptype string, oldRule, newRule []string)

Source from the content-addressed store, hash-verified

159 SelfRemovePolicies(sec string, ptype string, rules [][]string) (bool, error)
160 SelfRemoveFilteredPolicy(sec string, ptype string, fieldIndex int, fieldValues ...string) (bool, error)
161 SelfUpdatePolicy(sec string, ptype string, oldRule, newRule []string) (bool, error)
162 SelfUpdatePolicies(sec string, ptype string, oldRules, newRules [][]string) (bool, error)
163}
164

Callers 1

SelfUpdatePolicyMethod · 0.65

Implementers 1

Enforcerenforcer.go

Calls

no outgoing calls

Tested by

no test coverage detected