From 951b4ed323b588802321ee632c740e1265b036e8 Mon Sep 17 00:00:00 2001 From: Divya Madala Date: Thu, 6 Jun 2024 18:26:06 -0700 Subject: [PATCH] Update deprecated assignments Signed-off-by: Divya Madala --- lib/compute/oidc-config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/compute/oidc-config.ts b/lib/compute/oidc-config.ts index 3f459e88..3b6e0386 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,