Description:
When a user connects to AI Bridge for the first time, the following warning is logged:
2026-04-01 11:56:03.959 [info] api: 2026-04-01 11:56:03.959 [warn] coderd.aiseats: upsert AI seat state error="unauthorized: rbac: forbidden" user_id=45f9b709-4f51-4da5-a0b3-5e4d29fc26af event_type=aibridge
This only occurs on the first connection per user, subsequent connections from the same user do not produce the warning. AI Bridge functionality is not affected (tested with Claude and Copilot), but the user may not be recorded as consuming an AI seat.
Observed in a local development setup using the internal premium license.
Related to internal Slack thread: https://codercom.slack.com/archives/C0AEHQGLW22/p1775045737042489