From 73f2f29c2aa73fac349ea5c933e6e620a6ee179d Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 22 Jul 2025 13:26:01 -0700 Subject: [PATCH] add valid roles --- client/src/Utils/roleUtils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/Utils/roleUtils.js b/client/src/Utils/roleUtils.js index 2e8eea639..f359246b2 100644 --- a/client/src/Utils/roleUtils.js +++ b/client/src/Utils/roleUtils.js @@ -5,6 +5,8 @@ export const ROLES = { DEMO: "demo", }; +export const VALID_ROLES = [ROLES.ADMIN, ROLES.USER, ROLES.DEMO]; + export const EDITABLE_ROLES = [ { role: ROLES.ADMIN, _id: ROLES.ADMIN }, { role: ROLES.USER, _id: ROLES.USER },