mirror of
https://github.com/itflow-org/itflow
synced 2026-03-26 23:35:39 +00:00
Ajax active clients - enforce client access restrictions (e.g. when changing ticket client)
This commit is contained in:
1
ajax.php
1
ajax.php
@@ -294,6 +294,7 @@ if (isset($_GET['get_active_clients'])) {
|
|||||||
$mysqli,
|
$mysqli,
|
||||||
"SELECT client_id, client_name FROM clients
|
"SELECT client_id, client_name FROM clients
|
||||||
WHERE client_archived_at IS NULL
|
WHERE client_archived_at IS NULL
|
||||||
|
$access_permission_query
|
||||||
ORDER BY client_accessed_at DESC"
|
ORDER BY client_accessed_at DESC"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user