We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 41-48 (lines=8) @@ | ||
38 | 'type' => 'text', |
|
39 | ]); |
|
40 | ||
41 | if (config('backpack.permissionmanager.multiple_guards')) { |
|
42 | $this->crud->addField([ |
|
43 | 'name' => 'guard_name', |
|
44 | 'label' => trans('backpack::permissionmanager.guard_type'), |
|
45 | 'type' => 'select_from_array', |
|
46 | 'options' => $this->getGuardTypes(), |
|
47 | ]); |
|
48 | } |
|
49 | ||
50 | if (config('backpack.permissionmanager.allow_permission_create') == false) { |
|
51 | $this->crud->denyAccess('create'); |
@@ 52-59 (lines=8) @@ | ||
49 | 'type' => 'text', |
|
50 | ]); |
|
51 | ||
52 | if (config('backpack.permissionmanager.multiple_guards')) { |
|
53 | $this->crud->addField([ |
|
54 | 'name' => 'guard_name', |
|
55 | 'label' => trans('backpack::permissionmanager.guard_type'), |
|
56 | 'type' => 'select_from_array', |
|
57 | 'options' => $this->getGuardTypes(), |
|
58 | ]); |
|
59 | } |
|
60 | ||
61 | $this->crud->addField([ |
|
62 | 'label' => ucfirst(trans('backpack::permissionmanager.permission_plural')), |