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"
| "executive_position"
| "communication"
| "membership_status"
| "user"
| "role";
@ -43,12 +44,13 @@ export const permissionModules: Array<PermissionModule> = [
"award",
"executive_position",
"communication",
"membership_status",
"user",
"role",
];
export const permissionTypes: Array<PermissionType> = ["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"],
};