API / service accounts take no seat on the agent user limit, the managed instance's or config.php's: getActiveAgentUserCount() leaves them out, so the seats taken, the limit checks and the report to the manager do too; one can be added, enabled, restored or bulk enabled when every seat is taken, New User stays open with the window saying so, and turning an active one back into an agent who signs in needs a free seat (serviceAccountLeavingNeedsSeat()); 26.12.5 changelog

This commit is contained in:
johnnyq
2026-12-02 17:46:03 -05:00
parent c94aeaf4a7
commit bd38983abb
10 changed files with 63 additions and 17 deletions

View File

@@ -352,7 +352,7 @@ if ($error_count > 0) {
<td class="ps-3">
<div class="fw-semibold"><?= escapeHtml((string) ($agent['name'] ?? '')) ?>
<?php if ($invited) { ?><span class="badge rounded-pill bg-info-subtle text-info-emphasis border border-info-subtle fw-normal ms-1">Invited</span><?php } ?>
<?php if (!empty($agent['service'])) { ?><span class="badge rounded-pill bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle fw-normal ms-1">API account</span><?php } ?>
<?php if (!empty($agent['service'])) { ?><span class="badge rounded-pill bg-secondary-subtle text-secondary-emphasis border border-secondary-subtle fw-normal ms-1" title="A login only for API keys - it can't sign in, and takes no seat">API account</span><?php } ?>
</div>
<div class="text-body-secondary text-break"><?= escapeHtml((string) ($agent['email'] ?? '')) ?></div>
</td>