Removed the last of legacy validate functions and replaced with the new enforce fumctions.

This commit is contained in:
johnnyq
2026-07-14 16:49:14 -04:00
parent a2a96f9752
commit 29bea9517d
5 changed files with 12 additions and 36 deletions

View File

@@ -13,7 +13,6 @@
<hr>
<p>This is a great starting point for new custom pages.</p>
<h1><?php echo $session_user_role; ?></h1>
<?php validateAdminRole(); ?>
<?php

View File

@@ -2,7 +2,7 @@
require_once "includes/inc_all_reports.php";
validateAccountantRole();
enforceUserPermission('module_financial');
$sql = mysqli_query($mysqli, "
SELECT client_id, client_name,