From 79676936dd475a54c5ae19aed2052def3d39d1b4 Mon Sep 17 00:00:00 2001 From: Cody Hansen Date: Fri, 20 Dec 2024 11:33:13 -1000 Subject: [PATCH] Removed permission check from the old extension call and added it to the new subscription --- src/utilities/permissions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/permissions.ts b/src/utilities/permissions.ts index 1a0fa57992..d96523f96d 100644 --- a/src/utilities/permissions.ts +++ b/src/utilities/permissions.ts @@ -683,7 +683,6 @@ const queryPermissions: Record b return isUserAdmin(user) || getPermission([Queries.SEQUENCE_TO_SIMULATED_ACTIVITY], user); }, GET_EXPANSION_SEQUENCE_SEQ_JSON: () => true, - GET_EXTENSIONS: () => true, GET_EXTERNAL_EVENTS: () => true, GET_EXTERNAL_EVENT_TYPE_BY_SOURCE: () => true, GET_MODELS: () => true, @@ -858,6 +857,7 @@ const queryPermissions: Record b SUB_EXPANSION_SETS: (user: User | null): boolean => { return isUserAdmin(user) || getPermission([Queries.EXPANSION_SETS], user); }, + SUB_EXTENSIONS: () => true, SUB_EXTERNAL_EVENT_TYPES: () => true, SUB_EXTERNAL_SOURCE: () => true, SUB_EXTERNAL_SOURCES: () => true,