You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The v2 Livewire UserManager only handled roles, dropping the direct
per-user permission assignment and the Permission list column that v1
(UsersController) had. The underlying pieces were intact (permissions()
relation, admin_user_permission table, can()/allPermissions() merge), so
only the admin UI needed restoring.
- UserManager: eager-load permissions; add permissions to form defaults,
fillForm, rules and render() options; sync permissions in persist(),
clearing them when the administrator/view.all role already grants all.
- user-manager.blade.php: add a permission searchable-select to the form
and a Permission column to the list.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>