IP
Asked
There are no permissions to set on the role create or edit page.
Attachments
- MSAnsweredHello,
Please edit `` and add the following lines before `return Inertia::render('Role/Form', ['edit' => $role]);` around line no 41
```php
$role->load('permissions');
$role->permissions->transform(fn ($permission) => $permission->name);
```
I will update the download file later.
Thank you - Login to Reply