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