More restrictions due to authorization system

This commit is contained in:
2023-03-01 15:12:09 +01:00
parent 0b2da1f00f
commit f0d187b4c3
14 changed files with 114 additions and 21 deletions

View File

@@ -10,6 +10,11 @@ SPDX-License-Identifier: GPL-3.0-or-later
include("includes.php");
include("header.php");
$smarty->assign('role_add', $_SESSION['suser_role_add']);
$smarty->assign('role_edit', $_SESSION['suser_role_edit']);
$smarty->assign('role_delete', $_SESSION['suser_role_delete']);
$smarty->assign('role_manage', $_SESSION['suser_role_manage']);
$smarty->assign('role_admin', $_SESSION['suser_role_admin']);
$smarty->display("options.tpl");
include("footer.php");