@php($selected = collect(old('permissions', $selected ?? []))->map(fn ($v) => (string) $v))
Tick what this role can access. Unticked permissions hide the matching tabs and block the routes.