<?php
declare(strict_types=1);

namespace App\Controllers;

use App\Core\Auth;
use App\Core\Controller;
use App\Core\Permission;
use App\Security\ZeroTrustEngine;

final class ZeroTrustController extends Controller
{
    public function index(): void
    {
        Auth::requireLogin();
        Permission::require('administration.permissions.view');
        $this->view('security/zero-trust', [
            'pageTitle' => 'Zero Trust Engine',
            'status' => ZeroTrustEngine::status(),
        ]);
    }
}
