feat(Navigation, UserRights, Localization): add worker schedules feature and enhance access control
All checks were successful
Deploy to production / deploy (push) Successful in 1m52s
All checks were successful
Deploy to production / deploy (push) Successful in 1m52s
- Updated navigation structure to include a new section for worker schedules, accessible to specific user roles. - Introduced a new user right type for 'worker_schedule_read' to manage access permissions effectively. - Added localization entries for worker schedules in multiple languages, ensuring consistent user experience across the application. - Created a new route and component for managing worker schedules in the admin panel.
This commit is contained in:
@@ -295,7 +295,7 @@ const menuStructure = {
|
||||
path: "/admin/interests"
|
||||
},
|
||||
falukant: {
|
||||
visible: ["mainadmin", "falukant"],
|
||||
visible: ["mainadmin", "falukant", "worker_schedule_read"],
|
||||
children: {
|
||||
logentries: {
|
||||
visible: ["mainadmin", "falukant"],
|
||||
@@ -317,6 +317,10 @@ const menuStructure = {
|
||||
visible: ["mainadmin", "falukant"],
|
||||
path: "/admin/falukant/create-npc"
|
||||
},
|
||||
workerSchedules: {
|
||||
visible: ["mainadmin", "worker_schedule_read"],
|
||||
path: "/admin/falukant/worker-schedules"
|
||||
},
|
||||
}
|
||||
},
|
||||
minigames: {
|
||||
|
||||
Reference in New Issue
Block a user