Skip to content

Commit

Permalink
Update deprecated assignments (#431)
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm authored Jun 7, 2024
1 parent 682ef9f commit b43f71e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compute/oidc-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ export class OidcConfig {
roleBased: {
roles: {
global: [{
assignments: adminUsers,
entries: adminUsers.map(user => ({ user })),
name: 'admin',
pattern: '.*',
permissions: OidcConfig.adminRolePermissions
,
},
{
assignments: readOnlyUsers,
entries: readOnlyUsers.map(user => ({ user })),
name: 'read',
pattern: '.*',
permissions: OidcConfig.readOnlyRolePermissions,
Expand Down

0 comments on commit b43f71e

Please sign in to comment.