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

Method Enforce

enforcer_interface.go:56–56  ·  view source on GitHub ↗
(rvals ...interface{})

Source from the content-addressed store, hash-verified

54 EnableAutoBuildRoleLinks(autoBuildRoleLinks bool)
55 BuildRoleLinks() error
56 Enforce(rvals ...interface{}) (bool, error)
57 EnforceWithMatcher(matcher string, rvals ...interface{}) (bool, error)
58 EnforceEx(rvals ...interface{}) (bool, []string, error)
59 EnforceExWithMatcher(matcher string, rvals ...interface{}) (bool, []string, error)

Callers 14

EnforceMethod · 0.65
testEnforcePBACFunction · 0.65
testSyncEnforceCacheFunction · 0.65
testEnforceBibaFunction · 0.65
testEnforceSyncFunction · 0.65
EnforceMethod · 0.65
testEnforceFunction · 0.65
testEnforceWithoutUsersFunction · 0.65
testDomainEnforceFunction · 0.65
EnforceMethod · 0.65
testEnforceCacheFunction · 0.65
testEnforceLBACFunction · 0.65

Implementers 1

Enforcerenforcer.go

Calls

no outgoing calls

Tested by 11

testEnforcePBACFunction · 0.52
testSyncEnforceCacheFunction · 0.52
testEnforceBibaFunction · 0.52
testEnforceSyncFunction · 0.52
testEnforceFunction · 0.52
testEnforceWithoutUsersFunction · 0.52
testDomainEnforceFunction · 0.52
testEnforceCacheFunction · 0.52
testEnforceLBACFunction · 0.52
testEnforceOrBACFunction · 0.52
testEnforceBLPFunction · 0.52