mirror of
https://github.com/itflow-org/itflow
synced 2026-11-21 03:47: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:
@@ -85,7 +85,7 @@ $form_manager_id = intval($form['project_manager'] ?? 0);
|
||||
<option value="0" data-icon="fas fa-user-slash">No manager</option>
|
||||
<?php
|
||||
$sql = mysqli_query($mysqli, "SELECT user_id, user_name, user_avatar FROM users
|
||||
WHERE user_type = 1 AND ((user_status = 1 AND user_archived_at IS NULL) OR user_id = $form_manager_id)
|
||||
WHERE user_type = 1" . serviceAccountsOutSql() . " AND ((user_status = 1 AND user_archived_at IS NULL) OR user_id = $form_manager_id)
|
||||
ORDER BY user_id = " . intval($session_user_id) . " DESC, user_name ASC");
|
||||
while ($row = mysqli_fetch_assoc($sql)) {
|
||||
$user_id = intval($row['user_id']); ?>
|
||||
|
||||
Reference in New Issue
Block a user