Skip to content

Commit 94c8e4c

Browse files
committed
remove newline
Signed-off-by: Jose I. Paris <jiparis@chainloop.dev>
1 parent 3f5217d commit 94c8e4c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/controlplane/internal/service/service.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,6 @@ func (s *service) authorizeResource(ctx context.Context, op *authz.Policy, resou
193193
// Org Viewers cannot become Project Admins. Skipping this item in case it's inherited from a group
194194
// nolint:staticcheck
195195
!(orgRole == string(authz.RoleViewer) && rm.Role == authz.RoleProjectAdmin) {
196-
197196
pass, err := s.enforcer.Enforce(string(rm.Role), op)
198197
if err != nil {
199198
return handleUseCaseErr(err, s.log)

0 commit comments

Comments
 (0)