Update check permisisons

This commit is contained in:
markjcrane
2025-11-02 00:22:57 -06:00
parent 422fee7f23
commit b0eabca1f6
243 changed files with 299 additions and 1008 deletions

View File

@@ -30,10 +30,7 @@
require_once "resources/check_auth.php";
//check permissions
if (permission_exists('domain_all') && permission_exists('domain_edit')) {
//access granted
}
else {
if (!permission_exists('domain_all') && !permission_exists('domain_edit')) {
echo "access denied";
exit;
}