From d51ca40ab691232eda58343a07f2ec820e072ff0 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Wed, 4 Sep 2024 14:24:40 +0200 Subject: [PATCH] permission update --- src/types/permissionTypes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/types/permissionTypes.ts b/src/types/permissionTypes.ts index a73000b..7e8751d 100644 --- a/src/types/permissionTypes.ts +++ b/src/types/permissionTypes.ts @@ -9,6 +9,7 @@ export type PermissionModule = | "award" | "executive_position" | "communication" + | "membership_status" | "user" | "role"; @@ -43,12 +44,13 @@ export const permissionModules: Array = [ "award", "executive_position", "communication", + "membership_status", "user", "role", ]; export const permissionTypes: Array = ["read", "create", "update", "delete"]; export const sectionsAndModules: SectionsAndModulesObject = { club: ["members", "calendar", "newsletter", "protocoll"], - settings: ["qualification", "award", "executive_position", "communication"], + settings: ["qualification", "award", "executive_position", "communication", "membership_status"], user: ["user", "role"], };