diff --git a/db/migrations/2020_09_30_000000_create_questions_permissions.php b/db/migrations/2020_09_30_000000_create_questions_permissions.php index e90a87c7..4c328351 100644 --- a/db/migrations/2020_09_30_000000_create_questions_permissions.php +++ b/db/migrations/2020_09_30_000000_create_questions_permissions.php @@ -19,7 +19,7 @@ class CreateQuestionsPermissions extends Migration ]); $userGroup = -20; - $shiftCoordinatorGroup = -60; + $shiftCoordinatorGroup = -40; $addId = $db->table('Privileges')->where('name', 'question.add')->first()->id; $editId = $db->table('Privileges')->where('name', 'question.edit')->first()->id; $db->table('GroupPrivileges')->insert([ @@ -52,8 +52,8 @@ class CreateQuestionsPermissions extends Migration ['name' => 'admin_questions', 'desc' => 'Answer user\'s questions'], ]); $userGroup = -20; - $shiftCoordinatorGroup = -60; - $bureaucratGroup = -40; + $shiftCoordinatorGroup = -40; + $bureaucratGroup = -60; $userQuestionsId = $db->table('Privileges')->where('name', 'user_questions')->first()->id; $adminQuestionsId = $db->table('Privileges')->where('name', 'admin_questions')->first()->id; $db->table('GroupPrivileges')->insert([