Title: feat(cli): add `--require-active-version` to `coder templates push` · Issue #32004 · coder/coder · GitHub
Open Graph Title: feat(cli): add `--require-active-version` to `coder templates push` · Issue #32004 · coder/coder
X Title: feat(cli): add `--require-active-version` to `coder templates push` · Issue #32004 · coder/coder
Description: Part of #31998. coder templates create --require-active-version makes workspace builds use the template's active version (template admins are exempt). coder templates push has no equivalent flag. What to change New template: set CreateTe...
Open Graph Description: Part of #31998. coder templates create --require-active-version makes workspace builds use the template's active version (template admins are exempt). coder templates push has no equivalent flag. W...
X Description: Part of #31998. coder templates create --require-active-version makes workspace builds use the template's active version (template admins are exempt). coder templates push has no equivalent fla...
Opengraph URL: https://github.com/coder/coder/issues/32004
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"feat(cli): add `--require-active-version` to `coder templates push`","articleBody":"Part of #31998.\n\n`coder templates create --require-active-version` makes workspace builds use the template's active version (template admins are exempt). `coder templates push` has no equivalent flag.\n\n**What to change**\n- New template: set `CreateTemplateRequest.RequireActiveVersion`.\n- Existing template: send `UpdateTemplateMeta.RequireActiveVersion` only when the user sets the flag.\n- **License check required.** This setting needs the Access Control entitlement. `create` and [\\`edit\\`](https://github.com/coder/coder/blob/e6a795b4c3b00a5c1e576137f3540e9a9fdbbe76/cli/templateedit.go#L63-L80) check it before calling the API. Reuse the shared license check from the scheduling flags.\n\n**Scope:** Small (S), about 20 lines plus a test.\n\nCreated on behalf of @angrycub\n","author":{"url":"https://github.com/apps/coder","@type":"Person","name":"coder"},"datePublished":"2026-11-10T16:36:04Z","url":"https://github.com/coder/coder/issues/32004"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8374235-8aa9-dba2-200a-411ebe86d756 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D75C:BEE9A:9E6F4C:DE335B:6B042F3F |
| html-safe-nonce | 3576cd172faa716238c5929c6ff7b7fcb0f4f449e364bfbb35ca6eb69319b2a7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzVDOkJFRTlBOjlFNkY0QzpERTMzNUI6NkIwNDJGM0YiLCJ2aXNpdG9yX2lkIjoiNTc3NTk5OTE5NTQzNzg3MDkxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 144c75f8db2ef740cf7686f6eca72ae43236b6ef4f8dfe7f38e71adbc9b6286c |
| hovercard-subject-tag | issue:6311274964 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/32004/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5bc9e36a486aab24668e597c4294be5d1661e83f0fe2a94b8448faff6d898ac9/coder/coder/issues/32004 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5bc9e36a486aab24668e597c4294be5d1661e83f0fe2a94b8448faff6d898ac9/coder/coder/issues/32004 |
| og:image:alt | Part of #31998. coder templates create --require-active-version makes workspace builds use the template's active version (template admins are exempt). coder templates push has no equivalent flag. W... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | coder[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width