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

Method SelfRemoveFilteredPolicy

management_api.go:507–509  ·  view source on GitHub ↗
(sec string, ptype string, fieldIndex int, fieldValues ...string)

Source from the content-addressed store, hash-verified

505}
506
507func (e *Enforcer) SelfRemoveFilteredPolicy(sec string, ptype string, fieldIndex int, fieldValues ...string) (bool, error) {
508 return e.removeFilteredPolicyWithoutNotify(sec, ptype, fieldIndex, fieldValues)
509}
510
511func (e *Enforcer) SelfUpdatePolicy(sec string, ptype string, oldRule, newRule []string) (bool, error) {
512 return e.updatePolicyWithoutNotify(sec, ptype, oldRule, newRule)

Callers

nothing calls this directly

Tested by

no test coverage detected