Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(site): let organization admins manage agent templates - #28636

Merged
ethanndickson merged 3 commits into
mainfrom
dogfood/main-templates-gate
Aug 27, 2026
Merged

fix(site): let organization admins manage agent templates#28636
ethanndickson merged 3 commits into
mainfrom
dogfood/main-templates-gate

Conversation

@ethanndickson

@ethanndickson ethanndickson commented Aug 26, 2026

Copy link
Copy Markdown
Member

This is a frontend only fix.

Before

Organization administrators could update Coder Agents access for their templates through the API. However, the AI settings page required deployment configuration permission, so these administrators could not find or open the Templates page.

After

Organization administrators can open the Templates page from AI settings without deployment-wide access. The page shows only templates from organizations where the user can update templates, while deployment administrator behavior remains unchanged.

This pull request was generated by Coder Agents.

@ethanndickson
ethanndickson force-pushed the dogfood/main-templates-gate branch from d6e2366 to 62be54a Compare August 26, 2026 13:43
@ethanndickson
ethanndickson marked this pull request as ready for review August 26, 2026 13:44
@ethanndickson
ethanndickson force-pushed the dogfood/main-templates-gate branch from 62be54a to 25eb8db Compare August 26, 2026 13:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 25eb8db96e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread site/src/pages/AISettingsPage/TemplatesPage/TemplatesPage.tsx Outdated
Comment thread site/src/pages/AISettingsPage/TemplatesPage/TemplatesPage.stories.tsx Outdated
Comment thread site/src/modules/management/AISettingsSidebarView.tsx
@coderagents

coderagents Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Documentation Check

Updates Needed

  • docs/ai-coder/agents/platform-controls/organizations.md - The Who configures each scope section lists who can reach each AI settings area but does not cover the Templates page (agent access to templates). This PR lets organization administrators who can update templates open Admin settings > AI > Coder Agents > Templates without deployment-wide configuration access, and scopes the list to templates in organizations where they can update templates. Add an entry noting that users who can update an organization's templates can open the Templates page and manage agent access for those templates.

Automated review via Coder Agents

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b81eacd811

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread site/src/pages/AISettingsPage/AISettingsIndexRedirect.test.tsx Outdated

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. What shall we delve into next?

Reviewed commit: 78ec9a62de

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ethanndickson
ethanndickson force-pushed the dogfood/main-templates-gate branch from 78ec9a6 to d9efd93 Compare August 27, 2026 09:31
@ethanndickson
ethanndickson force-pushed the dogfood/main-templates-gate branch from d9efd93 to 379f31c Compare August 27, 2026 09:56
@ethanndickson
ethanndickson merged commit f5c7c63 into main Aug 27, 2026
26 checks passed
@ethanndickson
ethanndickson deleted the dogfood/main-templates-gate branch August 27, 2026 10:23
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants