projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Zeiterfassung: Recht hierzu der Gruppe Vollzugriff gewähren
[kivitendo-erp.git]
/
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
dbd0f32
..
5360030
100644
(file)
--- 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';