1 -- @tag: right_time_recording
2 -- @description: Recht zur Zeiterfassung
3 -- @depends: release_3_5_6_1
4 -- @locales: Create, edit and list time recordings
6 INSERT INTO auth.master_rights (position, name, description, category)
7 VALUES ((SELECT position + 50 FROM auth.master_rights WHERE name = 'email_employee_readall'),
9 'Create, edit and list time recordings',
12 INSERT INTO auth.group_rights (group_id, "right", granted)
13 SELECT id, 'time_recording', true
15 WHERE name = 'Vollzugriff';