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

Function NewRoleManager

model_test.go:444–446  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442type testCustomRoleManager struct{}
443
444func NewRoleManager() rbac.RoleManager {
445 return &testCustomRoleManager{}
446}
447func (rm *testCustomRoleManager) Clear() error { return nil }
448func (rm *testCustomRoleManager) AddLink(name1 string, name2 string, domain ...string) error {
449 return nil

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…