mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +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_client.php";
|
||||
|
||||
// Perms
|
||||
enforceUserPermission('module_support');
|
||||
|
||||
//Asset Type from GET
|
||||
if (isset($_GET['type']) && ($_GET['type']) == 'workstation') {
|
||||
$type_query = "asset_type = 'desktop' OR asset_type = 'laptop'";
|
||||
|
||||
Reference in New Issue
Block a user