Skip to content

Commit

Permalink
Update deprecated assignments
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Jun 7, 2024
1 parent 682ef9f commit 951b4ed
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 951b4ed

Please sign in to comment.