File tree Expand file tree Collapse file tree 4 files changed +13
-305
lines changed
workbench/bootstrap/cache Expand file tree Collapse file tree 4 files changed +13
-305
lines changed Original file line number Diff line number Diff line change 22
33return [
44
5- /*
6- |--------------------------------------------------------------------------
7- | Roles
8- |--------------------------------------------------------------------------
9- */
10- 'roles ' => [
11- 'entity ' => App \Entities \Role::class,
12- ],
135 /*
146 |--------------------------------------------------------------------------
157 | Permissions
2416 'entity ' => LaravelDoctrine \ACL \Permissions \Permission::class,
2517 'list ' => [],
2618 ],
19+
20+
21+ /*
22+ |--------------------------------------------------------------------------
23+ | Roles
24+ |--------------------------------------------------------------------------
25+ */
26+ 'roles ' => [
27+ 'entity ' => App \Entities \Role::class,
28+ ],
29+
2730 /*
2831 |--------------------------------------------------------------------------
2932 | Organisations
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ class Config implements PermissionDriver
1111 protected Collection $ collection ;
1212
1313 /** @var array<string> */
14- public function __construct (protected array $ permissions )
14+ public function __construct (array $ permissions )
1515 {
16- $ this ->collection = new Collection ($ this -> permissions );
16+ $ this ->collection = new Collection ($ permissions );
1717 }
1818
1919 public function getAllPermissions (): Collection
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments