nova-permissions
nova-permissions copied to clipboard
Laravel Nova 4 Roles & Permissions
I am using version 1.3.1 on Nova 4.22.1. When replicating a role, none of the permissions are checked.
Just a short feature request to add support for spatie teams
``` Illuminate\Database\LazyLoadingViolationException Attempted to lazy load [permissions] on model [App\Models\Role] but lazy loading is disabled. ``` In AppServiceProvider.php: ```php use Illuminate\Database\Eloquent\Model; ... public function register(): void { Model::preventLazyLoading(true); } ```
I found the previous UI difficult to digest (particularly the form field), so I thought I would share the redesign in my forked version. I've also introduced Fuse.js for fuzzy...
We don't use the groups field, this would allow it to be hidden.