mirror of
https://github.com/OPSnet/Gazelle.git
synced 2026-10-19 19:03:18 -04:00
24 lines
724 B
PHP
24 lines
724 B
PHP
<?php
|
|
|
|
$privMan = new Gazelle\Manager\Privilege;
|
|
|
|
View::show_header('Privilege Matrix');
|
|
?>
|
|
<div class="thin">
|
|
<div class="header">
|
|
<div class="linkbox">
|
|
<a href="tools.php?action=permissions&id=new" class="brackets">Create a new permission set</a>
|
|
<a href="tools.php?action=permissions" class="brackets">Privilege Mananager</a>
|
|
<a href="tools.php" class="brackets">Back to tools</a>
|
|
</div>
|
|
</div>
|
|
<?= G::$Twig->render('admin/privilege-matrix.twig', [
|
|
'class_list' => $privMan->classList(),
|
|
'privilege' => $privMan->privilege(),
|
|
'star' => "\xE2\x98\x85",
|
|
'tick' => ICON_ALL,
|
|
]) ?>
|
|
</div>
|
|
<?php
|
|
View::show_footer();
|