Skip to content

Commit 6812347

Browse files
committed
Fixed permissions, when installing a new Part-DB instance.
1 parent f0dc353 commit 6812347

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

updates/db_update_steps.php

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -816,18 +816,17 @@ function get_db_update_steps($current_version)
816816
`perms_storelocations`,`perms_footprints`,`perms_categories`,
817817
`perms_suppliers`,`perms_manufacturers`,`perms_attachement_types`,
818818
`perms_tools`)
819-
VALUES (1,'admins',NULL,
820-
'Users of this group can do everything: Read, Write and Administrative actions.'
821-
,1,1365,21845,21,85,21,349525,5,5,5,5,5,5,5,5,5,325,325,325,1365,
822-
325,1365,1365,1365,1365,1365,341,1365),
823-
(2,'readonly',NULL,
824-
'Users of this group can only read informations, use tools, and don\'t have access to administrative tools.'
825-
,2,2730,43690,25,170,42,349865,9,9,9,9,9,9,9,9,9,649,649,649,1705,
826-
649,1705,1705,1705,1705,1705,681,1366),
827-
(3,'users',NULL,
828-
'Users of this group, can edit part informations, create new ones, etc. but are not allowed to use administrative tools. (But can read current configuration, and see Server status)'
829-
,2,2730,43690,25,105,41,349525,5,5,5,5,5,5,5,5,5,325,325,325,1365,
830-
325,1365,1365,1365,1365,1365,341,1365);
819+
VALUES (1, 'admins', NULL, 'Users of this group can do everything: Read, Write and Administrative actions.',
820+
21, 1365, 87381, 85, 85, 21, 1431655765, 5, 5, 5, 5, 5, 5, 5, 5, 5, 325, 325, 325, 5461, 325, 5461, 5461,
821+
5461, 5461, 5461, 1365, 1365),
822+
(2, 'readonly', NULL,
823+
'Users of this group can only read informations, use tools, and don\'t have access to administrative tools.',
824+
42, 2730, 174762, 154, 170, 42, -1516939607, 9, 9, 9, 9, 9, 9, 9, 9, 9, 649, 649, 649, 1705, 649, 1705, 1705,
825+
1705, 1705, 1705, 681, 1366),
826+
(3, 'users', NULL,
827+
'Users of this group, can edit part informations, create new ones, etc. but are not allowed to use administrative tools. (But can read current configuration, and see Server status)',
828+
42, 2730, 109226, 89, 105, 41, 1431655765, 5, 5, 5, 5, 5, 5, 5, 5, 5, 325, 325, 325, 5461, 325, 5461, 5461, 5461,
829+
5461, 5461, 1365, 1365);
831830
EOD;
832831

833832

0 commit comments

Comments
 (0)