We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f5217d commit 94c8e4cCopy full SHA for 94c8e4c
1 file changed
app/controlplane/internal/service/service.go
@@ -193,7 +193,6 @@ func (s *service) authorizeResource(ctx context.Context, op *authz.Policy, resou
193
// Org Viewers cannot become Project Admins. Skipping this item in case it's inherited from a group
194
// nolint:staticcheck
195
!(orgRole == string(authz.RoleViewer) && rm.Role == authz.RoleProjectAdmin) {
196
-
197
pass, err := s.enforcer.Enforce(string(rm.Role), op)
198
if err != nil {
199
return handleUseCaseErr(err, s.log)
0 commit comments