mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
BREAKING CHANGES - Many DB Updates - NOT POSSIBLE TO EASILY UPGRADE TO THIS - Completely reworked User Company Access Permssions, started working on Client Role so Clients can access their data and a bunch of other small fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<?php include("header.php");
|
||||
|
||||
//Permission check
|
||||
if($session_permission_level == 2){
|
||||
$permission_sql = "AND client_id IN ($session_permission_clients)";
|
||||
// Role / Client Access Permission Check
|
||||
if($session_user_role == 2){
|
||||
$permission_sql = "AND client_id IN ($session_user_client_access)";
|
||||
}else{
|
||||
$permission_sql = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user