Fix: RBAC handle error no resolver found (#55676)
* Fix: Handle error no resolver found * Fix test not to expect the error
This commit is contained in:
@@ -87,7 +87,7 @@ func TestEvaluatingPermissions(t *testing.T) {
|
||||
{evaluator: accesscontrol.EvalPermission(accesscontrol.ActionUsersCreate, accesscontrol.ScopeGlobalUsersAll)},
|
||||
},
|
||||
evalResult: false,
|
||||
expectedErr: accesscontrol.ErrResolverNotFound,
|
||||
expectedErr: nil,
|
||||
},
|
||||
}
|
||||
for _, tc := range testCases {
|
||||
|
||||
Reference in New Issue
Block a user