Create staff accounts and grant them specific permissions. Only you (super-admin) can manage this.

{{-- Super admins --}}

Super Administrators

@foreach ($admins as $a) {{ $a->name }} ยท {{ $a->email }} @endforeach

Super admins have full, unrestricted access.

{{-- Staff table --}}
@forelse ($staff as $s) @empty @endforelse
StaffPermissionsActions
{{ $s->name }}
{{ $s->email }}
@forelse ($s->permissions ?? [] as $p) {{ $allPermissions[$p] ?? $p }} @empty No permissions @endforelse
No staff accounts yet.
{{-- Create / edit modal --}} @if ($showForm)

{{ $editingId ? 'Edit Staff' : 'New Staff' }}

@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@unless ($editingId)
@error('password')
{{ $message }}
@enderror
@endunless
Permissions
@foreach ($allPermissions as $key => $label) @endforeach
@endif