diff --git a/src/types/permissionTypes.ts b/src/types/permissionTypes.ts index 7e8751d..3bd54c8 100644 --- a/src/types/permissionTypes.ts +++ b/src/types/permissionTypes.ts @@ -1,7 +1,7 @@ export type PermissionSection = "club" | "settings" | "user"; export type PermissionModule = - | "members" + | "member" | "calendar" | "newsletter" | "protocoll" @@ -36,7 +36,7 @@ export type SectionsAndModulesObject = { export const permissionSections: Array = ["club", "settings", "user"]; export const permissionModules: Array = [ - "members", + "member", "calendar", "newsletter", "protocoll", @@ -50,7 +50,7 @@ export const permissionModules: Array = [ ]; export const permissionTypes: Array = ["read", "create", "update", "delete"]; export const sectionsAndModules: SectionsAndModulesObject = { - club: ["members", "calendar", "newsletter", "protocoll"], + club: ["member", "calendar", "newsletter", "protocoll"], settings: ["qualification", "award", "executive_position", "communication", "membership_status"], user: ["user", "role"], };