permission update
This commit is contained in:
parent
5ffdfcd6f2
commit
d51ca40ab6
1 changed files with 3 additions and 1 deletions
|
@ -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"],
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue