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