mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: introduce ResourceAiSeat for fine-grained AI seat RBAC (#24613)
Fixes: https://github.com/coder/internal/issues/1444
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- These enum values cannot be removed from PostgreSQL.
|
||||
-- This migration is a no-op placeholder for rollback safety.
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TYPE api_key_scope ADD VALUE IF NOT EXISTS 'ai_seat:*';
|
||||
ALTER TYPE api_key_scope ADD VALUE IF NOT EXISTS 'ai_seat:create';
|
||||
ALTER TYPE api_key_scope ADD VALUE IF NOT EXISTS 'ai_seat:read';
|
||||
Reference in New Issue
Block a user