mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: exclude service accounts from license seat count (#24401)
This commit is contained in:
@@ -25552,6 +25552,7 @@ FROM
|
||||
users
|
||||
WHERE
|
||||
status = 'active'::user_status AND deleted = false
|
||||
AND is_service_account = false
|
||||
AND CASE WHEN $1::bool THEN TRUE ELSE is_system = false END
|
||||
`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user