From: Bernd Bleßmann Date: Wed, 2 Dec 2020 11:55:10 +0000 (+0100) Subject: Zeiterfassung: Recht hierzu der Gruppe Vollzugriff gewähren X-Git-Tag: kivitendo-mebil_0.1-0~9^2~333 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f6d4214cbbff2a3c3c31fc9672e0f904f71e5857;p=kivitendo-erp.git Zeiterfassung: Recht hierzu der Gruppe Vollzugriff gewähren --- diff --git a/sql/Pg-upgrade2-auth/right_time_recording.sql b/sql/Pg-upgrade2-auth/right_time_recording.sql index dbd0f3251..5360030c8 100644 --- a/sql/Pg-upgrade2-auth/right_time_recording.sql +++ b/sql/Pg-upgrade2-auth/right_time_recording.sql @@ -8,3 +8,8 @@ INSERT INTO auth.master_rights (position, name, description, category) 'time_recording', 'Create, edit and list time recordings', FALSE); + +INSERT INTO auth.group_rights (group_id, "right", granted) + SELECT id, 'time_recording', true + FROM auth.group + WHERE name = 'Vollzugriff';