mirror of
https://gitlab.com/uldvstar/exchange-2.0.git
synced 2026-08-19 04:24:16 +00:00
Fixes for admin can't view document / missing permission
This commit is contained in:
@@ -109,6 +109,7 @@ class AdminUserPermissionsTableSeeder extends Seeder
|
||||
$super_admin->assignRole($ultimate_admin_role);
|
||||
}
|
||||
|
||||
/* Disable normal admin role for now, will comeback later to this
|
||||
$admin_role = Role::updateOrCreate(
|
||||
['name' => 'Admin'],
|
||||
[
|
||||
@@ -132,6 +133,7 @@ class AdminUserPermissionsTableSeeder extends Seeder
|
||||
foreach ($admins as $admin) {
|
||||
$admin->assignRole($admin_role);
|
||||
}
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user