X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1deb1fbe7e1c00bb64df6e8d47023c1e429af8f6..f6d4214cbbff2a3c3c31fc9672e0f904f71e5857:/sql/Pg-upgrade2-auth/right_time_recording.sql 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';