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"
|
| "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"],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue