I want to assign permissions to users while creating or updating. So used checklist type data with the backpack permission manager. Follow is my code which I put for column type checklist.
CRUD::addColumn(
[
'label' => 'Permissions',
'type' => 'checklist',
'name' => 'permissions',
'entity' => 'permissions',
'attribute' => 'name',
'model' =>"Backpack\PermissionManager\app\Models\Permission",
'pivot' => true,
],
);
This was working fine until I upgraded laravel backpack to v5 with backpack/pro.