diff --git a/lib/compute/oidc-config.ts b/lib/compute/oidc-config.ts index 3f459e8..3b6e038 100644 --- a/lib/compute/oidc-config.ts +++ b/lib/compute/oidc-config.ts @@ -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,