@extends('twill::layouts.free') @section('customPageContent')
Fetches every user, role and permission provisioned for the CMS from Akarya SSO (auth.akarya.id) and applies it here right away, instead of waiting for each person's next sign-in. Roles are matched to Twill roles by name; people whose SSO access was removed are unpublished.
@if ($errors->has('sync'))⚠ {{ $errors->first('sync') }}
@endif @if ($result)✓ Synced: {{ $result['created'] }} created, {{ $result['updated'] }} updated, {{ $result['revoked'] }} revoked, {{ $result['skipped'] }} skipped.
@if (count($result['roles']))| SSO role | Permissions | Twill role |
|---|---|---|
| {{ $role['name'] }} | {{ $role['permissions'] }} | @if ($role['twill_role']) {{ $role['twill_role'] }} @else ⚠ none — create it in Twill to grant access @endif |