@php
$tenant = $getRecord();
$warnings = $tenant->rbac_last_warnings ?? [];
$canaries = $tenant->rbac_canary_results ?? [];
@endphp
Last RBAC Setup
- Role
-
{{ $tenant->rbac_role_display_name ?? $tenant->rbac_role_definition_id ?? 'n/a' }}
@if ($tenant->rbac_role_definition_id)
(ID: {{ $tenant->rbac_role_definition_id }})
@endif
- Scope
-
{{ $tenant->rbac_scope_mode ?? 'n/a' }}
@if ($tenant->rbac_scope_id)
({{ $tenant->rbac_scope_id }})
@endif
- Group ID
- {{ $tenant->rbac_group_id ?? 'n/a' }}
- Role Assignment
- {{ $tenant->rbac_role_assignment_id ?? 'n/a' }}
- Executed at
- {{ optional($tenant->rbac_last_setup_at)->toDateTimeString() ?? 'n/a' }}
- Executed by (user id)
- {{ $tenant->rbac_last_setup_by ?? 'n/a' }}
Canaries
@if (empty($canaries))
No canary results recorded.
@else
@foreach ($canaries as $key => $status)
-
{{ $key }}:
{{ $status }}
@endforeach
@endif
@if (! empty($warnings))
Warnings
@foreach ($warnings as $warning)
- {{ $warning }}
@endforeach
@endif