Files
coder/enterprise/coderd
Susana Ferreira c181a72eab fix(enterprise/coderd): reject system user AI budget overrides (#28699)
## Description

System users cannot authenticate with the AI gateway, but the API
allowed user AI budget overrides to be configured for them.

The override endpoint now rejects system users with a clear forbidden
response.

## Changes

- Reject user AI budget overrides for system users.
- Add API regression coverage.

Related to: https://linear.app/codercom/issue/AIGOV-595
Related to: https://github.com/coder/coder/pull/28698

> [!NOTE]
> Generated by Coder Agents on behalf of @ssncferreira.
2026-09-09 09:30:13 +01:00
..
…