mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-25 11:45:58 +00:00
Removed joint_permission generation in older migration
This commit is contained in:
parent
81eb642f75
commit
0b6f83837b
@ -74,10 +74,6 @@ class CreateJointPermissionsTable extends Migration
|
|||||||
|
|
||||||
// Update admin role with system name
|
// Update admin role with system name
|
||||||
DB::table('roles')->where('name', '=', 'admin')->update(['system_name' => 'admin']);
|
DB::table('roles')->where('name', '=', 'admin')->update(['system_name' => 'admin']);
|
||||||
|
|
||||||
// Generate the new entity jointPermissions
|
|
||||||
$restrictionService = app(\BookStack\Services\PermissionService::class);
|
|
||||||
$restrictionService->buildJointPermissions();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user