René's URL Explorer Experiment


Title: feat: Add permissions for links by BrunoQuaresma · Pull Request #1407 · coder/coder · GitHub

Open Graph Title: feat: Add permissions for links by BrunoQuaresma · Pull Request #1407 · coder/coder

X Title: feat: Add permissions for links by BrunoQuaresma · Pull Request #1407 · coder/coder

Description: Secure environments for developers and their agents - feat: Add permissions for links by BrunoQuaresma · Pull Request #1407 · coder/coder

Open Graph Description: This PR depends on #1389 and closes #884 Considerations: You can ignore the commits from feat: Check permissions endpoint #1389. I created a branch from it to not block me. After it is merged, I w...

X Description: This PR depends on #1389 and closes #884 Considerations: You can ignore the commits from feat: Check permissions endpoint #1389. I created a branch from it to not block me. After it is merged, I w...

Opengraph URL: https://github.com/coder/coder/pull/1407

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0eb71e50-5311-f551-e6be-af6efafd66b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD26E:19F84C:2034EA7:28FCD16:6B0159C4
html-safe-nonce9b9952ce6b53fca721e360fb861e8cf769775fcda22be5b4fcb953231053b5d0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjZFOjE5Rjg0QzoyMDM0RUE3OjI4RkNEMTY6NkIwMTU5QzQiLCJ2aXNpdG9yX2lkIjoiMjgwNDc2NTU0NjE5MTYwODI2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7d70a3f56db056aac726dfa2e123ede985eba7c9034accb6be1f0dc014dd87e9
hovercard-subject-tagpull_request:934995588
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/coder/coder/1407/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/53e0d529214f5144e3a2a745bba204fc57cce2847b1886751e7157e5ab670008/coder/coder/pull/1407
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/53e0d529214f5144e3a2a745bba204fc57cce2847b1886751e7157e5ab670008/coder/coder/pull/1407
og:image:altThis PR depends on #1389 and closes #884 Considerations: You can ignore the commits from feat: Check permissions endpoint #1389. I created a branch from it to not block me. After it is merged, I w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBrunoQuaresma
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/coder/coder git https://github.com/coder/coder.git
octolytics-dimension-user_id95932066
octolytics-dimension-user_logincoder
octolytics-dimension-repository_id440752086
octolytics-dimension-repository_nwocoder/coder
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id440752086
octolytics-dimension-repository_network_root_nwocoder/coder
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/coder/coder/pull/1407#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1407
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1407
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=coder%2Fcoder
Reloadhttps://github.com/coder/coder/pull/1407
Reloadhttps://github.com/coder/coder/pull/1407
Reloadhttps://github.com/coder/coder/pull/1407
coderhttps://github.com/coder
coderhttps://github.com/coder/coder
Codehttps://github.com/coder/coder
Issues320 (320)https://github.com/coder/coder/issues
Pull requests470 (470)https://github.com/coder/coder/pulls
Discussionshttps://github.com/coder/coder/discussions
Actionshttps://github.com/coder/coder/actions
Projectshttps://github.com/coder/coder/projects
Security and quality49 (49)https://github.com/coder/coder/security
Insightshttps://github.com/coder/coder/insights
https://github.com/coder/coder
BrunoQuaresmahttps://github.com/BrunoQuaresma
mainhttps://github.com/coder/coder/tree/main
bq/add-permissions-for-linkshttps://github.com/coder/coder/tree/bq/add-permissions-for-links
Conversationhttps://github.com/coder/coder/pull/1407
Commits8 (8)https://github.com/coder/coder/pull/1407/commits
Checkshttps://github.com/coder/coder/pull/1407/checks
Files changedhttps://github.com/coder/coder/pull/1407/files
feat: Add permissions for linkshttps://github.com/coder/coder/pull/1407#top
BrunoQuaresmahttps://github.com/BrunoQuaresma
mainhttps://github.com/coder/coder/tree/main
bq/add-permissions-for-linkshttps://github.com/coder/coder/tree/bq/add-permissions-for-links
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
May 12, 2022https://github.com/coder/coder/pull/1407#issue-1234168443
#1389https://github.com/coder/coder/pull/1389
#884https://github.com/coder/coder/issues/884
feat: Check permissions endpoint #1389https://github.com/coder/coder/pull/1389
Please reload this pagehttps://github.com/coder/coder/pull/1407
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
May 12, 2022https://github.com/coder/coder/pull/1407#event-6599478215
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
presleyphttps://github.com/presleyp
code ownershttps://github.com/coder/coder/blob/26b04cc96fd8e383d8459ef8f129cc63e941b52f/.github/CODEOWNERS#L1
May 12, 2022 15:37https://github.com/coder/coder/pull/1407#event-6599478219
https://github.com/presleyp
presleyphttps://github.com/presleyp
May 12, 2022 https://github.com/coder/coder/pull/1407#pullrequestreview-971108920
View reviewed changes https://github.com/coder/coder/pull/1407/files
coderd/roles.gohttps://github.com/coder/coder/pull/1407/files#diff-63999c7aa6ffb7c06cbb73646e1508c0d10f6bd1d1c86fa94ce5e4941d9ea1d5
Please reload this pagehttps://github.com/coder/coder/pull/1407
https://github.com/presleyp
presleyphttps://github.com/presleyp
May 12, 2022 https://github.com/coder/coder/pull/1407#pullrequestreview-971122566
View reviewed changes https://github.com/coder/coder/pull/1407/files
codersdk/users.gohttps://github.com/coder/coder/pull/1407/files#diff-300f8156df9bd44f20d854d8a65225e001e82d3a1ab670e2b826a43d0387cc9c
Please reload this pagehttps://github.com/coder/coder/pull/1407
https://github.com/presleyp
presleyphttps://github.com/presleyp
May 12, 2022 https://github.com/coder/coder/pull/1407#pullrequestreview-971137854
View reviewed changes https://github.com/coder/coder/pull/1407/files
site/src/components/NavbarView/NavbarView.tsxhttps://github.com/coder/coder/pull/1407/files#diff-b1594728b97fef6b4cfbc39c04353fc9d3bb409782f426c762e3292b6d90828c
Please reload this pagehttps://github.com/coder/coder/pull/1407
https://github.com/presleyp
presleyphttps://github.com/presleyp
May 12, 2022 https://github.com/coder/coder/pull/1407#pullrequestreview-971191661
View reviewed changes https://github.com/coder/coder/pull/1407/files
https://github.com/Kira-Pilot
Kira-Pilothttps://github.com/Kira-Pilot
May 12, 2022 https://github.com/coder/coder/pull/1407#pullrequestreview-971294227
View reviewed changes https://github.com/coder/coder/pull/1407/files
Kira-Pilothttps://github.com/Kira-Pilot
https://github.com/coder/coder/pull/1407#pullrequestreview-971294227
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/coder/coder/pull/1407
May 13, 2022 13:41https://github.com/coder/coder/pull/1407#commits-pushed-2a180d4
Get user permissionshttps://github.com/coder/coder/pull/1407/commits/2a180d42b4c90e59d715ca4de0d87e4ed0222109
2a180d4https://github.com/coder/coder/pull/1407/commits/2a180d42b4c90e59d715ca4de0d87e4ed0222109
Refactor to use generated typeshttps://github.com/coder/coder/pull/1407/commits/dbd9b30bde5e76d56afc1d46a59ad9e1f4d848d4
dbd9b30https://github.com/coder/coder/pull/1407/commits/dbd9b30bde5e76d56afc1d46a59ad9e1f4d848d4
Update navbar to be displayed only if the user has permissions for ithttps://github.com/coder/coder/pull/1407/commits/d0ff321e07a7aaebdb07220b9ddd1c3d543d9e87
d0ff321https://github.com/coder/coder/pull/1407/commits/d0ff321e07a7aaebdb07220b9ddd1c3d543d9e87
Update NavbarView testhttps://github.com/coder/coder/pull/1407/commits/42ea186ab1e8a253672ea1ffb41284d75df502c9
42ea186https://github.com/coder/coder/pull/1407/commits/42ea186ab1e8a253672ea1ffb41284d75df502c9
Add test to check if the navbar displays or not the admin menuhttps://github.com/coder/coder/pull/1407/commits/ee4b6f6316a9d98575f83211a22d0e8cd0b6c347
ee4b6f6https://github.com/coder/coder/pull/1407/commits/ee4b6f6316a9d98575f83211a22d0e8cd0b6c347
Update typeshttps://github.com/coder/coder/pull/1407/commits/424a645d5207b07e5f40c66279abf2f53181cc69
424a645https://github.com/coder/coder/pull/1407/commits/424a645d5207b07e5f40c66279abf2f53181cc69
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
force-pushedhttps://github.com/coder/coder/compare/810c1214c3a04192fe581617a392f403f7d33d26..424a645d5207b07e5f40c66279abf2f53181cc69
810c121https://github.com/coder/coder/commit/810c1214c3a04192fe581617a392f403f7d33d26
424a645https://github.com/coder/coder/commit/424a645d5207b07e5f40c66279abf2f53181cc69
Compare https://github.com/coder/coder/compare/810c1214c3a04192fe581617a392f403f7d33d26..424a645d5207b07e5f40c66279abf2f53181cc69
May 13, 2022 13:52https://github.com/coder/coder/pull/1407#event-6605978185
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
May 13, 2022https://github.com/coder/coder/pull/1407#issuecomment-1126083717
Please reload this pagehttps://github.com/coder/coder/pull/1407
Codecovhttps://codecov.io/gh/coder/coder/pull/1407?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
#1407https://codecov.io/gh/coder/coder/pull/1407?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
ae42dcchttps://github.com/coder/coder/commit/ae42dcc085c70434f7003b07be353c6f2f3043d6
mainhttps://codecov.io/gh/coder/coder/commit/64a8b4ac47e8d8fc4549bd416af6453eb8edaaa6?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
64a8b4ahttps://github.com/coder/coder/commit/64a8b4ac47e8d8fc4549bd416af6453eb8edaaa6
Impacted Fileshttps://codecov.io/gh/coder/coder/pull/1407?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
coderd/rbac/object.gohttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJkL3JiYWMvb2JqZWN0Lmdv
codersdk/users.gohttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJzZGsvdXNlcnMuZ28=
site/src/xServices/auth/authXService.tshttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-c2l0ZS9zcmMveFNlcnZpY2VzL2F1dGgvYXV0aFhTZXJ2aWNlLnRz
site/src/components/Navbar/Navbar.tsxhttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-c2l0ZS9zcmMvY29tcG9uZW50cy9OYXZiYXIvTmF2YmFyLnRzeA==
coderd/roles.gohttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJkL3JvbGVzLmdv
codersdk/roles.gohttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-Y29kZXJzZGsvcm9sZXMuZ28=
site/src/api/api.tshttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-c2l0ZS9zcmMvYXBpL2FwaS50cw==
site/src/components/NavbarView/NavbarView.tsxhttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-c2l0ZS9zcmMvY29tcG9uZW50cy9OYXZiYXJWaWV3L05hdmJhclZpZXcudHN4
site/src/testHelpers/handlers.tshttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-c2l0ZS9zcmMvdGVzdEhlbHBlcnMvaGFuZGxlcnMudHM=
site/src/xServices/auth/authSelectors.tshttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder#diff-c2l0ZS9zcmMveFNlcnZpY2VzL2F1dGgvYXV0aFNlbGVjdG9ycy50cw==
17 morehttps://codecov.io/gh/coder/coder/pull/1407/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Continue to review full report at Codecovhttps://codecov.io/gh/coder/coder/pull/1407?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Click here to learn morehttps://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Codecovhttps://codecov.io/gh/coder/coder/pull/1407?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
64a8b4a...ae42dcchttps://codecov.io/gh/coder/coder/pull/1407?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
comment docshttps://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=coder
Please reload this pagehttps://github.com/coder/coder/pull/1407
May 13, 2022 14:00https://github.com/coder/coder/pull/1407#commits-pushed-1b6b297
Fix handlerhttps://github.com/coder/coder/pull/1407/commits/1b6b2976bce71bf6b86a6d44ca7ed3bab36a087f
1b6b297https://github.com/coder/coder/pull/1407/commits/1b6b2976bce71bf6b86a6d44ca7ed3bab36a087f
Fix API testhttps://github.com/coder/coder/pull/1407/commits/ae42dcc085c70434f7003b07be353c6f2f3043d6
ae42dcchttps://github.com/coder/coder/pull/1407/commits/ae42dcc085c70434f7003b07be353c6f2f3043d6
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
May 13, 2022 14:24https://github.com/coder/coder/pull/1407#event-6606214586
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
e6168bahttps://github.com/coder/coder/commit/e6168ba238fd82283c7b60e2a59fedab2f455f33
May 13, 2022https://github.com/coder/coder/pull/1407#event-6606227294
https://github.com/BrunoQuaresma
BrunoQuaresmahttps://github.com/BrunoQuaresma
May 13, 2022 14:26https://github.com/coder/coder/pull/1407#event-6606227672
https://github.com/misskniss
missknisshttps://github.com/misskniss
V2 BETA https://github.com/coder/coder/issues?q=state%3Aopen%20label%3A%22V2%20BETA%22
May 15, 2022https://github.com/coder/coder/pull/1407#event-6610715406
https://github.com/misskniss
missknisshttps://github.com/misskniss
V2 Betahttps://github.com/coder/coder/milestone/4
May 15, 2022https://github.com/coder/coder/pull/1407#event-6610715473
https://github.co/hiddenchars
https://github.com/coder/coder/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcoder%2Fcoder%2Fpull%2F1407
https://github.com/presleyp
presleyp https://github.com/presleyp
https://github.com/coder/coder/pull/1407/files/810c1214c3a04192fe581617a392f403f7d33d26
https://github.com/Kira-Pilot
Kira-Pilot https://github.com/Kira-Pilot
https://github.com/coder/coder/pull/1407/files/810c1214c3a04192fe581617a392f403f7d33d26
Please reload this pagehttps://github.com/coder/coder/pull/1407
https://github.com/BrunoQuaresma
BrunoQuaresma https://github.com/BrunoQuaresma
V2 Beta https://github.com/coder/coder/milestone/4
Add permissions for links and pages https://github.com/coder/coder/issues/884
Please reload this pagehttps://github.com/coder/coder/pull/1407
https://github.com/BrunoQuaresma
https://github.com/presleyp
https://github.com/Kira-Pilot
https://github.com/misskniss
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.