Adjust shift plan based on authentication
This commit is contained in:
parent
f894bf325d
commit
b4b926a8e4
10 changed files with 499 additions and 97 deletions
8
migrations/20240614075633_shiftplanner-role.sql
Normal file
8
migrations/20240614075633_shiftplanner-role.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- Add migration script here
|
||||
|
||||
INSERT INTO role (name, update_process) VALUES ('shiftplanner', 'update-2024-06-14');
|
||||
|
||||
INSERT INTO privilege (name, update_process) VALUES ('shiftplanner', 'update-2024-06-14');
|
||||
|
||||
INSERT INTO role_privilege (role_name, privilege_name, update_process) VALUES ('shiftplanner', 'shiftplanner', 'update-2024-06-14');
|
||||
INSERT INTO role_privilege (role_name, privilege_name, update_process) VALUES ('admin', 'shiftplanner', 'update-2024-06-14');
|
||||
Loading…
Add table
Add a link
Reference in a new issue