Files
yourpart3/backend/sql/add_worker_schedule_read_right.sql
Torsten Schulz (local) 008cd7ae86
All checks were successful
Deploy to production / deploy (push) Successful in 1m52s
feat(Navigation, UserRights, Localization): add worker schedules feature and enhance access control
- 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.
2026-05-08 08:54:17 +02:00

10 lines
236 B
SQL

-- Adds user right required for Falukant worker schedule read access.
INSERT INTO "type".user_right (title)
SELECT 'worker_schedule_read'
WHERE NOT EXISTS (
SELECT 1
FROM "type".user_right
WHERE title = 'worker_schedule_read'
);