mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Custom Roles & Permissions
Initial enforcement of custom roles & permissions - only on some pages via GET for now.
This commit is contained in:
@@ -6,6 +6,9 @@ $order = "ASC";
|
||||
|
||||
require_once "inc_all.php";
|
||||
|
||||
// Perms
|
||||
enforceUserPermission('module_sales');
|
||||
|
||||
// Category Filter
|
||||
if (isset($_GET['category']) & !empty($_GET['category'])) {
|
||||
$category_query = 'AND (category_id = ' . intval($_GET['category']) . ')';
|
||||
|
||||
Reference in New Issue
Block a user