Removed joint_permission generation in older migration

This commit is contained in:
Dan Brown 2018-09-20 16:03:01 +01:00
parent 81eb642f75
commit 0b6f83837b
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -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();
} }
/** /**