]>
BookStack Code Mirror - bookstack/commitdiff
projects
/
bookstack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
81eb642
)
Removed joint_permission generation in older migration
author
Dan Brown
<redacted>
Thu, 20 Sep 2018 15:03:01 +0000
(16:03 +0100)
committer
Dan Brown
<redacted>
Thu, 20 Sep 2018 15:03:01 +0000
(16:03 +0100)
database/migrations/2016_04_20_192649_create_joint_permissions_table.php
patch
|
blob
|
history
diff --git
a/database/migrations/2016_04_20_192649_create_joint_permissions_table.php
b/database/migrations/2016_04_20_192649_create_joint_permissions_table.php
index 4c1b43c4e77a5cf60df0fa73be786c58518652c5..ce11f7b88efb19174f5cfa23783f62afc3a68244 100644
(file)
--- a/
database/migrations/2016_04_20_192649_create_joint_permissions_table.php
+++ b/
database/migrations/2016_04_20_192649_create_joint_permissions_table.php
@@
-74,10
+74,6
@@
class CreateJointPermissionsTable extends Migration
// Update admin role with system name
DB::table('roles')->where('name', '=', 'admin')->update(['system_name' => 'admin']);
-
- // Generate the new entity jointPermissions
- $restrictionService = app(\BookStack\Services\PermissionService::class);
- $restrictionService->buildJointPermissions();
}
/**