| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2dce42c1-dd74-0df0-7f7a-4ea9cb880f75 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B8D4:5D487:3C9576:50DA54:6B019792 |
| html-safe-nonce | 9a1da83689f91f9ffb748234968bad666f53b68efc5b5dc60e086f54bcf6bd15 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEQ0OjVENDg3OjNDOTU3Njo1MERBNTQ6NkIwMTk3OTIiLCJ2aXNpdG9yX2lkIjoiMzcyMDE0MDQ0OTgzNTQ4OTE3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1efcfbf31229889d241d4cc82d483c5ae33e40010261ca03fd0a44bcc5daf636 |
| hovercard-subject-tag | pull_request:829600423 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/coder/coder/pull/50/files |
| twitter:image | https://avatars.githubusercontent.com/u/7122116?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/7122116?s=400&v=4 |
| og:image:alt | This moves the /user endpoint to /users/me instead. This
will reduce code duplication.
This adds /users//organizations to list organizations
a user has access to. It doesn't contain the permiss... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/coder/coder/pull/50/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F50%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F50%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=coder%2Fcoder |
| Reload | https://github.com/coder/coder/pull/50/files |
| Reload | https://github.com/coder/coder/pull/50/files |
| Reload | https://github.com/coder/coder/pull/50/files |
| coder | https://github.com/coder |
| coder | https://github.com/coder/coder |
| Code | https://github.com/coder/coder |
| Issues320 (320) | https://github.com/coder/coder/issues |
| Pull requests470 (470) | https://github.com/coder/coder/pulls |
| Discussions | https://github.com/coder/coder/discussions |
| Actions | https://github.com/coder/coder/actions |
| Projects | https://github.com/coder/coder/projects |
| Security and quality49 (49) | https://github.com/coder/coder/security |
| Insights | https://github.com/coder/coder/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fcoder%2Fcoder%2Fissues%2Fnew%2Fchoose |
| kylecarbs | https://github.com/kylecarbs |
| main | https://github.com/coder/coder/tree/main |
| userorgs | https://github.com/coder/coder/tree/userorgs |
|
Conversation
6
| https://github.com/coder/coder/pull/50 |
|
Commits
9
| https://github.com/coder/coder/pull/50/commits |
|
Checks
0
| https://github.com/coder/coder/pull/50/checks |
|
Files changed
| https://github.com/coder/coder/pull/50/files |
| Please reload this page | https://github.com/coder/coder/pull/50/files |
|
feat: Add organizations endpoint for users
| https://github.com/coder/coder/pull/50/files#top |
|
Show all changes
9 commits
| https://github.com/coder/coder/pull/50/files |
|
359f978
feat: Add organizations endpoint for users
kylecarbs Jan 22, 2022
| https://github.com/coder/coder/pull/50/commits/359f978a3b7efcfbb3d2cb37f502d8e38c2cb09f |
|
030bf3f
Fix requested changes
kylecarbs Jan 22, 2022
| https://github.com/coder/coder/pull/50/commits/030bf3f75681e21098f351e817e43dc17238ffc3 |
|
d9defff
Merge branch 'main' into userorgs
kylecarbs Jan 22, 2022
| https://github.com/coder/coder/pull/50/commits/d9defffb2ac9122de6f3588c65dcc16f0325afbc |
|
47f70a9
Fix tests
kylecarbs Jan 22, 2022
| https://github.com/coder/coder/pull/50/commits/47f70a99ee237f0bbbac97672b4f30989a35e695 |
|
5d336fd
Merge branch 'main' into userorgs
kylecarbs Jan 22, 2022
| https://github.com/coder/coder/pull/50/commits/5d336fd76eae4df5d1325f90c985f253f414d83b |
|
f419971
Fix timeout
kylecarbs Jan 23, 2022
| https://github.com/coder/coder/pull/50/commits/f419971276672ff3333635af64a7360ac6eee51f |
|
5302128
Add test for UserOrgs
kylecarbs Jan 23, 2022
| https://github.com/coder/coder/pull/50/commits/5302128e7592d4351ba692854c3184df2140a9d7 |
|
fac16a5
Add test for userparam getting
kylecarbs Jan 23, 2022
| https://github.com/coder/coder/pull/50/commits/fac16a54519c7c2ec75c8ed03468eeabd0cefcf3 |
|
41ec8ba
Add test for NoUser
kylecarbs Jan 23, 2022
| https://github.com/coder/coder/pull/50/commits/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07 |
|
Clear filters
| https://github.com/coder/coder/pull/50/files |
| Please reload this page | https://github.com/coder/coder/pull/50/files |
| Please reload this page | https://github.com/coder/coder/pull/50/files |
|
codecov.yml
| https://github.com/coder/coder/pull/50/files#diff-3e878d9bdc47f29a0ab909a7db939acf08d2d2f1aaba81e6f897b32361fa40db |
|
coderd.go
| https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
|
coderdtest.go
| https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351 |
|
coderdtest_test.go
| https://github.com/coder/coder/pull/50/files#diff-47c623c216527700b790a72eff0482aefbb0e6b0bb3ebf03308f9273dc059fb8 |
|
organizations.go
| https://github.com/coder/coder/pull/50/files#diff-32da97b7ef8c40f11fd4f1b69674b64192ff21247c12b0238406d2bd61890028 |
|
users.go
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
users_test.go
| https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee |
|
users.go
| https://github.com/coder/coder/pull/50/files#diff-300f8156df9bd44f20d854d8a65225e001e82d3a1ab670e2b826a43d0387cc9c |
|
users_test.go
| https://github.com/coder/coder/pull/50/files#diff-d260ba58ee589a2116f5bfae9a41642a3291f2de611b15f7211994d687f8cbc9 |
|
databasefake.go
| https://github.com/coder/coder/pull/50/files#diff-2faef4d428e520c71835613a6a1929d0515a229c9f9acd09c88f4e842495f6ea |
|
querier.go
| https://github.com/coder/coder/pull/50/files#diff-c4aa3193342fe9d1fc81806dba97dbeca46a866df2e12c5dcfd8a5e420223669 |
|
query.sql
| https://github.com/coder/coder/pull/50/files#diff-05266e6008b993a65797bc3b91ae0575b1132ce18076886c16705da72f964fea |
|
query.sql.go
| https://github.com/coder/coder/pull/50/files#diff-f8efe1b39829de7ebba897db1a1617ac887c39a0f4bfae73fe65e8b4517a5b58 |
|
user.go
| https://github.com/coder/coder/pull/50/files#diff-98f614486ab8e1d8021627371df7a10c0dd107c7ba97c2556310e079faf15dcc |
|
user_test.go
| https://github.com/coder/coder/pull/50/files#diff-db21bf3ec675a86af05521657285ed0169987c163dbd11f75e58e13534a74981 |
|
userparam.go
| https://github.com/coder/coder/pull/50/files#diff-7663dbbf67dd8dfc8fd9807ce0f27eb9a2c457f94808ae431643acc7bf7d26be |
|
userparam_test.go
| https://github.com/coder/coder/pull/50/files#diff-7a4f7a0ee2f390460106440b5b9314a2598d1ea6a4b82070610526245821cff3 |
|
conn_test.go
| https://github.com/coder/coder/pull/50/files#diff-3418f04f2cad2c0020e8aba4dffc42fa5d2f93570a4ddce68e1814d56c0a03f5 |
|
SignInForm.tsx
| https://github.com/coder/coder/pull/50/files#diff-1cbe9b77041934ab64b0029f915d9bc003f89fecb055b2fff3729fcb736b9287 |
|
UserContext.tsx
| https://github.com/coder/coder/pull/50/files#diff-34932539f99928fc852f6a604bc265fda6e783e696acfa37a19790d763c9fce8 |
| codecov.yml | https://github.com/coder/coder/pull/50/files#diff-3e878d9bdc47f29a0ab909a7db939acf08d2d2f1aaba81e6f897b32361fa40db |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/codecov.yml |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/50/files#diff-3e878d9bdc47f29a0ab909a7db939acf08d2d2f1aaba81e6f897b32361fa40db |
| coderd/coderd.go | https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/coderd.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
|
| https://github.com/coder/coder/pull/50/files#diff-cae99a4758751d753f0ebcc421c2e10c55cbdc9cc6a08bfd89a7eb970db55f36 |
| coderd/coderdtest/coderdtest.go | https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351 |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/coderdtest/coderdtest.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351 |
|
| https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351 |
|
| https://github.com/coder/coder/pull/50/files#diff-ce351d3003b0d62f64a8a41cddbe8d08a84895cd70b7bfe385b6e667477f6351 |
| coderd/coderdtest/coderdtest_test.go | https://github.com/coder/coder/pull/50/files#diff-47c623c216527700b790a72eff0482aefbb0e6b0bb3ebf03308f9273dc059fb8 |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/coderdtest/coderdtest_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/50/files#diff-47c623c216527700b790a72eff0482aefbb0e6b0bb3ebf03308f9273dc059fb8 |
| coderd/organizations.go | https://github.com/coder/coder/pull/50/files#diff-32da97b7ef8c40f11fd4f1b69674b64192ff21247c12b0238406d2bd61890028 |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/organizations.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
| coderd/users.go | https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/users.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
|
| https://github.com/coder/coder/pull/50/files#diff-b4e10e23e473674139719f634b3ad7e760467574e342916c4bbb42df7a613722 |
| coderd/users_test.go | https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee |
|
View file
| https://github.com/coder/coder/blob/41ec8ba545a3db1cbbc856b8a99cdf8ee10a2e07/coderd/users_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/coder/coder/pull/50/{{ revealButtonHref }} |
|
| https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee |
|
| https://github.com/coder/coder/pull/50/files#diff-a3640fd39a07c39f0d43ef2fbcba3836a7613e979df14583a78508acd5731dee |
| Please reload this page | https://github.com/coder/coder/pull/50/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |