chore: add test to document current behaviour on template ACL revocation (#26104)

Documents a question raised in
https://github.com/coder/coder/pull/26061#discussion_r3361458492 - I
couldn't find the exact answer, so adding a test and accompanying
documentation seemed like the prudent move here.

Obligatory disclosure: an agent wrote this code under my supervision.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Cian Johnston
2026-06-24 12:57:27 +01:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent 2d28c1b396
commit e8c53f7968
2 changed files with 67 additions and 0 deletions
@@ -19,3 +19,9 @@ of `Template Admin`.
By default the `Everyone` group is assigned to each template meaning any Coder
user can use the template to create a workspace. This access can be revoked
via the actions menu button to the right hand side of each group entry.
> [!WARNING]
> If a user's only access to a template is through a group and they lose that
> access (for example, by being removed from the group or by removing the group
> from the template's permissions), they cannot start or stop workspaces created
> from that template.