mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 20:07:24 +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:
@@ -56,7 +56,7 @@ $by_bucket = $grouped(reportBucketSql('tickets.ticket_closed_at', $buckets['unit
|
||||
|
||||
// By agent
|
||||
$names = [];
|
||||
$sql = mysqli_query($mysqli, "SELECT user_id, user_name, user_avatar FROM users WHERE user_type = 1");
|
||||
$sql = mysqli_query($mysqli, "SELECT user_id, user_name, user_avatar FROM users WHERE user_type = 1" . serviceAccountsOutSql());
|
||||
while ($row = mysqli_fetch_assoc($sql)) {
|
||||
$names[intval($row['user_id'])] = $row;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user