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

@@ -152,10 +152,7 @@
}
else {
require_once "resources/check_auth.php";
if (permission_exists('upgrade_schema') || permission_exists('upgrade_source') || if_group("superadmin")) {
//echo "access granted";
}
else {
if (!permission_exists('upgrade_schema') || !permission_exists('upgrade_source')) {
echo "access denied";
exit;
}

View File

@@ -47,7 +47,6 @@
//run all app_defaults.php files
$domain = new domains;
$domain->display_type = $display_type;
$domain->upgrade();
?>