From 8827483699adc24054991a1090b19fa8f32fdeea Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Wed, 8 Jan 2025 12:49:59 -0500 Subject: [PATCH] feat: rename api key resource back to api_key --- api/src/graphql/generated/api/types.ts | 2 +- api/src/graphql/schema/types/auth/roles.graphql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/graphql/generated/api/types.ts b/api/src/graphql/generated/api/types.ts index 8aac86bb1..ee709df14 100644 --- a/api/src/graphql/generated/api/types.ts +++ b/api/src/graphql/generated/api/types.ts @@ -1187,7 +1187,7 @@ export type RemoveRoleFromApiKeyInput = { /** Available resources for permissions */ export enum Resource { - APIKEY = 'apikey', + API_KEY = 'api_key', ARRAY = 'array', CLOUD = 'cloud', CONFIG = 'config', diff --git a/api/src/graphql/schema/types/auth/roles.graphql b/api/src/graphql/schema/types/auth/roles.graphql index 57cc67f8e..9c96edfed 100644 --- a/api/src/graphql/schema/types/auth/roles.graphql +++ b/api/src/graphql/schema/types/auth/roles.graphql @@ -2,7 +2,7 @@ Available resources for permissions """ enum Resource { - apikey + api_key array cloud config