mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add API key scope to restrict access to user data (#17692)
This commit is contained in:
@@ -9620,6 +9620,7 @@ func (q *FakeQuerier) InsertWorkspaceAgent(_ context.Context, arg database.Inser
|
||||
LifecycleState: database.WorkspaceAgentLifecycleStateCreated,
|
||||
DisplayApps: arg.DisplayApps,
|
||||
DisplayOrder: arg.DisplayOrder,
|
||||
APIKeyScope: arg.APIKeyScope,
|
||||
}
|
||||
|
||||
q.workspaceAgents = append(q.workspaceAgents, agent)
|
||||
|
||||
Reference in New Issue
Block a user