@php($assigned = $assigned ?? []) @php($labels = config('sso.clients', [])) @php($order = array_flip(array_keys($labels))) @once @push('styles') @endpush @endonce

Tick the roles this person holds in each web. No role in a web means they can't sign in to it.

@foreach ($roles->sortBy(fn ($r, $client) => $order[$client] ?? PHP_INT_MAX) as $client => $clientRoles) @php($held = $clientRoles->pluck('name')->intersect($assigned)->isNotEmpty())
{{ $labels[$client] ?? $client }}{{ $client }} @unless ($held) · no access @endunless
@foreach ($clientRoles as $role) @endforeach
@endforeach
@if (auth()->user()?->can('idp-admin'))

Need a different set of permissions? Edit roles on the Access screen.

@endif