Implement admin and user management foundation #4

Merged
Twyco merged 2 commits from codex/0.1-kanban-foundation/01-admin-and-user-management-foundation into main 2026-03-25 19:22:16 +00:00
Showing only changes of commit 7c94592a8f - Show all commits
@@ -12,7 +12,7 @@ class UpdateUserAdminStatusRequest extends FormRequest
*/
public function authorize(): bool
{
return $this->user()?->is_admin === true;
return $this->user()?->can('access-admin') ?? false;
}
/**