mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 11:57:25 +00:00
Users: an API or service account keeps its role for API keys but is left out of agent lists, pickers, notifications and admin alerts, cannot sign in, and has its own API accounts tab on Admin Users; database 3.8.1 adds users.user_service_account; 26.11.9 changelog entries
This commit is contained in:
@@ -1211,7 +1211,7 @@ function reportAgentControl($user_id, $all_label = 'All agents') {
|
||||
global $mysqli;
|
||||
$user_id = intval($user_id);
|
||||
$sql = mysqli_query($mysqli, "SELECT user_id, user_name, user_avatar FROM users
|
||||
WHERE user_type = 1 AND ((user_archived_at IS NULL AND user_status = 1) OR user_id = $user_id)
|
||||
WHERE user_type = 1" . serviceAccountsOutSql() . " AND ((user_archived_at IS NULL AND user_status = 1) OR user_id = $user_id)
|
||||
ORDER BY user_name ASC");
|
||||
$html = '<div class="col-sm-6 col-lg-2"><select class="form-select select2" name="agent" data-report-autosubmit aria-label="Agent">'
|
||||
. '<option value="">- ' . escapeHtml($all_label) . ' -</option>';
|
||||
|
||||
Reference in New Issue
Block a user