permission update

This commit is contained in:
Julian Krauser 2024-09-04 14:24:40 +02:00
parent 5ffdfcd6f2
commit d51ca40ab6

View file

@ -9,6 +9,7 @@ export type PermissionModule =
| "award" | "award"
| "executive_position" | "executive_position"
| "communication" | "communication"
| "membership_status"
| "user" | "user"
| "role"; | "role";
@ -43,12 +44,13 @@ export const permissionModules: Array<PermissionModule> = [
"award", "award",
"executive_position", "executive_position",
"communication", "communication",
"membership_status",
"user", "user",
"role", "role",
]; ];
export const permissionTypes: Array<PermissionType> = ["read", "create", "update", "delete"]; export const permissionTypes: Array<PermissionType> = ["read", "create", "update", "delete"];
export const sectionsAndModules: SectionsAndModulesObject = { export const sectionsAndModules: SectionsAndModulesObject = {
club: ["members", "calendar", "newsletter", "protocoll"], club: ["members", "calendar", "newsletter", "protocoll"],
settings: ["qualification", "award", "executive_position", "communication"], settings: ["qualification", "award", "executive_position", "communication", "membership_status"],
user: ["user", "role"], user: ["user", "role"],
}; };