mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-18 07:03:12 -04:00
17 lines
321 B
PHP
17 lines
321 B
PHP
<?php
|
|
/** @phpstan-var \Gazelle\User $Viewer */
|
|
/** @phpstan-var \Twig\Environment $Twig */
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Gazelle;
|
|
|
|
if (!$Viewer->permitted('admin_dnu')) {
|
|
Error403::error();
|
|
}
|
|
|
|
echo $Twig->render('admin/dnu.twig', [
|
|
'list' => (new Manager\DNU())->dnuList(),
|
|
'viewer' => $Viewer,
|
|
]);
|