We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 58-65 (lines=8) @@ | ||
55 | 'type' => 'text', |
|
56 | ]); |
|
57 | ||
58 | if (config('backpack.permissionmanager.multiple_guards')) { |
|
59 | $this->crud->addField([ |
|
60 | 'name' => 'guard_name', |
|
61 | 'label' => trans('backpack::permissionmanager.guard_type'), |
|
62 | 'type' => 'select_from_array', |
|
63 | 'options' => $this->getGuardTypes(), |
|
64 | ]); |
|
65 | } |
|
66 | ||
67 | //otherwise, changes won't have effect |
|
68 | \Cache::forget('spatie.permission.cache'); |
@@ 67-74 (lines=8) @@ | ||
64 | 'type' => 'text', |
|
65 | ]); |
|
66 | ||
67 | if (config('backpack.permissionmanager.multiple_guards')) { |
|
68 | $this->crud->addField([ |
|
69 | 'name' => 'guard_name', |
|
70 | 'label' => trans('backpack::permissionmanager.guard_type'), |
|
71 | 'type' => 'select_from_array', |
|
72 | 'options' => $this->getGuardTypes(), |
|
73 | ]); |
|
74 | } |
|
75 | ||
76 | $this->crud->addField([ |
|
77 | 'label' => ucfirst(trans('backpack::permissionmanager.permission_plural')), |