From f6d4214cbbff2a3c3c31fc9672e0f904f71e5857 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 2 Dec 2020 12:55:10 +0100 Subject: [PATCH] =?utf8?q?Zeiterfassung:=20Recht=20hierzu=20der=20Gruppe?= =?utf8?q?=20Vollzugriff=20gew=C3=A4hren?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- sql/Pg-upgrade2-auth/right_time_recording.sql | 5 +++++ 1 file changed, 5 insertions(+) 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'; -- 2.20.1