Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m37s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m41s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m40s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m42s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m10s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m6s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 1m55s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m2s
CI / Build-Artefakte aktuell (pull_request) Successful in 52s
- OpenID Connect mit PKCE, State und Nonce; ID-Token-Prüfung gegen die Microsoft-Schlüssel (Signatur, Mandant, App, Gültigkeit, Nonce) inkl. Neuladen bei Schlüsselwechsel - Konto bei erster Anmeldung anlegen oder per E-Mail verknüpfen, optionale Domain-Beschränkung, deaktivierte Konten bleiben gesperrt - Gruppen (inkl. Overage über Graph, transitiv) und App-Rollen → Rollen, additiv; nur Zuweisungen aus Entra werden abgeglichen, manuelle bleiben - Profilfelder, Vorgesetzte*r und Profilfoto aus Graph, je Feld wählbar und im Portal schreibgeschützt; Fallback auf Token-Angaben, wenn Graph ausfällt - Hintergrund-Abgleich mit Delta-Abfragen (Zeitbudget, Fortsetzung über nextLink/deltaLink), Offboarding deaktivierter/gelöschter Konten, optionale Vorab-Anlage, Fotos/Vorgesetzte rollierend, Gruppen und App-Rollen stündlich - Admin „Anmeldung“: Einrichtung mit Umleitungs-URI und Berechtigungen, verschlüsseltes Geheimnis (nie im Browser), Gruppensuche, Status, „Mapping testen“ - Fix: @odata.nextLink/@odata.deltaLink wurden als Pfad gelesen – Folgeseiten fehlten - Profilseite mit Vorgesetzter/m und Mitarbeitenden; Version 0.4.0 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
68 lines
3.6 KiB
PHP
68 lines
3.6 KiB
PHP
<x-filament-panels::page>
|
||
<style>
|
||
.ih-table { width: 100%; font-size: .875rem; border-collapse: collapse; }
|
||
.ih-table th { text-align: left; font-weight: 500; color: rgb(107 114 128); padding: .375rem .75rem .375rem 0; }
|
||
.ih-table td { padding: .5rem .75rem .5rem 0; border-top: 1px solid rgb(243 244 246); vertical-align: top; }
|
||
.ih-muted { color: rgb(107 114 128); font-size: .8125rem; }
|
||
.dark .ih-table td { border-color: rgb(55 65 81); }
|
||
.dark .ih-muted, .dark .ih-table th { color: rgb(156 163 175); }
|
||
</style>
|
||
|
||
<x-filament::section heading="Person" description="Benötigt den Hintergrund-Abgleich (Anwendungsberechtigungen in Entra ID).">
|
||
<form wire:submit="test" style="display: flex; gap: .75rem; flex-wrap: wrap; align-items: flex-start">
|
||
<div style="flex: 1; min-width: 16rem">
|
||
<x-filament::input.wrapper :valid="! $errors->has('person')">
|
||
<x-filament::input type="text" wire:model="person" placeholder="vorname.nachname@firma.de" />
|
||
</x-filament::input.wrapper>
|
||
@error('person') <span class="ih-muted" style="color: rgb(220 38 38)">{{ $message }}</span> @enderror
|
||
</div>
|
||
<x-filament::button type="submit" icon="heroicon-o-beaker">Prüfen</x-filament::button>
|
||
</form>
|
||
</x-filament::section>
|
||
|
||
@if ($error)
|
||
<x-filament::callout color="danger" icon="heroicon-o-exclamation-triangle" :description="$error" />
|
||
@endif
|
||
|
||
@if ($result)
|
||
<x-filament::section :heading="$result['user']['name']" :description="$result['user']['email'].($result['user']['enabled'] ? '' : ' · in Entra deaktiviert')">
|
||
<p style="font-size: .875rem"><strong>Rollen im Portal:</strong>
|
||
@forelse ($result['roles'] as $role)
|
||
<x-filament::badge color="success" style="display: inline-flex; margin: 0 .25rem .25rem 0">{{ $role }}</x-filament::badge>
|
||
@empty
|
||
<span class="ih-muted">keine – keine Gruppe und keine App-Rolle ist zugeordnet.</span>
|
||
@endforelse
|
||
</p>
|
||
</x-filament::section>
|
||
|
||
<x-filament::section heading="Gruppen in Entra ID ({{ count($result['groups']) }})">
|
||
<table class="ih-table">
|
||
<thead><tr><th>Gruppe</th><th>Objekt-ID</th><th>Rollen im Portal</th></tr></thead>
|
||
<tbody>
|
||
@forelse ($result['groups'] as $group)
|
||
<tr>
|
||
<td>{{ $group['name'] }}</td>
|
||
<td class="ih-muted" style="font-family: ui-monospace, monospace">{{ $group['id'] }}</td>
|
||
<td>{{ implode(', ', $group['roles']) ?: '–' }}</td>
|
||
</tr>
|
||
@empty
|
||
<tr><td colspan="3" class="ih-muted">Keine Gruppen.</td></tr>
|
||
@endforelse
|
||
</tbody>
|
||
</table>
|
||
</x-filament::section>
|
||
|
||
@if ($result['app_roles'])
|
||
<x-filament::section heading="App-Rollen">
|
||
<table class="ih-table">
|
||
<thead><tr><th>Wert</th><th>Rollen im Portal</th></tr></thead>
|
||
<tbody>
|
||
@foreach ($result['app_roles'] as $appRole)
|
||
<tr><td>{{ $appRole['value'] }}</td><td>{{ implode(', ', $appRole['roles']) ?: '–' }}</td></tr>
|
||
@endforeach
|
||
</tbody>
|
||
</table>
|
||
</x-filament::section>
|
||
@endif
|
||
@endif
|
||
</x-filament-panels::page>
|