We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| @@ 42-48 (lines=7) @@ | ||
| 39 | 'type' => 'text', |
|
| 40 | ]); |
|
| 41 | ||
| 42 | if (config('backpack.permissionmanager.multiple_guards')) { |
|
| 43 | $this->crud->addColumn([ |
|
| 44 | 'name' => 'guard_name', |
|
| 45 | 'label' => trans('backpack::permissionmanager.guard_type'), |
|
| 46 | 'type' => 'text', |
|
| 47 | ]); |
|
| 48 | } |
|
| 49 | }); |
|
| 50 | ||
| 51 | $this->crud->operation(['create', 'update'], function () { |
|
| @@ 41-47 (lines=7) @@ | ||
| 38 | 'label' => trans('backpack::permissionmanager.name'), |
|
| 39 | 'type' => 'text', |
|
| 40 | ]); |
|
| 41 | if (config('backpack.permissionmanager.multiple_guards')) { |
|
| 42 | $this->crud->addColumn([ |
|
| 43 | 'name' => 'guard_name', |
|
| 44 | 'label' => trans('backpack::permissionmanager.guard_type'), |
|
| 45 | 'type' => 'text', |
|
| 46 | ]); |
|
| 47 | } |
|
| 48 | $this->crud->addColumn([ |
|
| 49 | // n-n relationship (with pivot table) |
|
| 50 | 'label' => ucfirst(trans('backpack::permissionmanager.permission_plural')), |
|