Title: UX Improvement: Port Sharing in the UI · Issue #10908 · coder/coder · GitHub
Open Graph Title: UX Improvement: Port Sharing in the UI · Issue #10908 · coder/coder
X Title: UX Improvement: Port Sharing in the UI · Issue #10908 · coder/coder
Description: Problem Statement Currently, modifying the access level of a port or coder_app requires configuration in the template using the share attribute in the Coder Terraform provider. This implies that template admins are expected to operate po...
Open Graph Description: Problem Statement Currently, modifying the access level of a port or coder_app requires configuration in the template using the share attribute in the Coder Terraform provider. This implies that te...
X Description: Problem Statement Currently, modifying the access level of a port or coder_app requires configuration in the template using the share attribute in the Coder Terraform provider. This implies that te...
Opengraph URL: https://github.com/coder/coder/issues/10908
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"UX Improvement: Port Sharing in the UI","articleBody":"# Problem Statement\r\nCurrently, modifying the access level of a port or coder_app requires configuration in the template using the `share` attribute in the [Coder Terraform provider](https://registry.terraform.io/providers/coder/coder/latest/docs/resources/app#optional). This implies that template admins are expected to operate port sharing at the workspace level which misaligns with the use case. \r\n\r\nInstead, the port sharing level should be configurable in the Coder UI by the workspace owner per port. \r\n\r\n## Implementation details\r\nHere's a **rough** example of what this improved UX might look like: \r\n\r\n\u003cimg width=\"517\" alt=\"port sharing\" src=\"https://github.com/coder/coder/assets/58410745/c3f02a85-1609-4688-ad63-3d07e159655f\">\r\n\r\nThe user would be able to set one of the visibility options [`owner` (default), `authenticated`, `public`] with this button, ideally through a dropdown. \r\n\r\nTo accommodate security expectations, the maximum port `share` level should be controlled by template admins at the deployment level. However, it could make sense to configure this per template rather than per deployment, depending on implementation difficulty and security opinions. \r\n\r\n## Impact\r\nThe individual that would want to forward a port should not have to edit their template to modify port visibility. This is a frequently requested use case by the community and has been recently discussed in detail with an enterprise customer. \r\n\r\n### Related issues \r\n- #10393 \r\n- #4615 \r\n\r\n\r\n### CLI (**Update**)\r\nTo fully utilize this feature, the customer asked that it also be available in the CLI. I am under the impression it would fall under `coder port-forward` but will defer to engineering.","author":{"url":"https://github.com/stirby","@type":"Person","name":"stirby"},"datePublished":"2023-11-27T21:19:03Z","url":"https://github.com/coder/coder/issues/10908"}
| 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:4e070a90-c731-454c-c154-a8af14fdea5c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E6A8:24E34C:BF2FBF:10B9F1B:6B04386F |
| html-safe-nonce | ceaf4e97d6bc1a2f1157d3868778314629cdce7ce48311badab140e8931b46e3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkE4OjI0RTM0QzpCRjJGQkY6MTBCOUYxQjo2QjA0Mzg2RiIsInZpc2l0b3JfaWQiOiI0MDA5MzM2MjUzMDMxMTM1MzQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f5e6271779ddf9afe81775305a7b9219f240a962accb03aa796eafa9cc1908af |
| hovercard-subject-tag | issue:2013121891 |
| 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/10908/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e6a9ce60378cac9645898a173cdd96181f7bcc91b1a830666f6a916d6675da6c/coder/coder/issues/10908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e6a9ce60378cac9645898a173cdd96181f7bcc91b1a830666f6a916d6675da6c/coder/coder/issues/10908 |
| og:image:alt | Problem Statement Currently, modifying the access level of a port or coder_app requires configuration in the template using the share attribute in the Coder Terraform provider. This implies that te... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stirby |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| 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