Skip to content

Commit 348d8a8

Browse files
authored
chore(authz): Cleanup roles for org viewer (#2186)
Signed-off-by: Javier Rodriguez <[email protected]>
1 parent dc28e8c commit 348d8a8

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

app/controlplane/pkg/authz/authz.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ var RolesMap = map[Role][]*Policy{
189189
PolicyWorkflowRead,
190190
// Organization
191191
PolicyOrganizationRead,
192-
// Groups
193-
PolicyGroupList,
194-
PolicyGroupRead,
195-
// Group Memberships
196-
PolicyGroupListMemberships,
197-
// Project Memberships
198-
PolicyProjectListMemberships,
199192
},
200193
// RoleAdmin is an org-scoped role that provides super admin privileges (it's the higher role)
201194
RoleAdmin: {

0 commit comments

Comments
 (0)