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:
@@ -6,6 +6,7 @@ const ForumAdminView = () => import('../dialogues/admin/ForumAdminView.vue');
|
||||
const AdminFalukantEditUserView = () => import('../views/admin/falukant/EditUserView.vue');
|
||||
const AdminFalukantMapRegionsView = () => import('../views/admin/falukant/MapRegionsView.vue');
|
||||
const AdminFalukantCreateNPCView = () => import('../views/admin/falukant/CreateNPCView.vue');
|
||||
const AdminFalukantWorkerSchedulesView = () => import('../views/admin/falukant/WorkerSchedulesView.vue');
|
||||
const AdminMinigamesView = () => import('../views/admin/MinigamesView.vue');
|
||||
const AdminTaxiToolsView = () => import('../views/admin/TaxiToolsView.vue');
|
||||
const AdminUsersView = () => import('../views/admin/UsersView.vue');
|
||||
@@ -94,6 +95,12 @@ const adminRoutes = [
|
||||
component: AdminFalukantCreateNPCView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/admin/falukant/worker-schedules',
|
||||
name: 'AdminFalukantWorkerSchedulesView',
|
||||
component: AdminFalukantWorkerSchedulesView,
|
||||
meta: { requiresAuth: true }
|
||||
},
|
||||
{
|
||||
path: '/admin/minigames/match3',
|
||||
name: 'AdminMinigames',
|
||||
|
||||
Reference in New Issue
Block a user