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