René's URL Explorer Experiment


Title: Fix obtained scope mapping to include implied scopes by mario-campos · Pull Request #5256 · cli/cli · GitHub

Open Graph Title: Fix obtained scope mapping to include implied scopes by mario-campos · Pull Request #5256 · cli/cli

X Title: Fix obtained scope mapping to include implied scopes by mario-campos · Pull Request #5256 · cli/cli

Description: GitHub’s official command line tool. Contribute to cli/cli development by creating an account on GitHub.

Open Graph Description: As is, gotScopes does not contain certain scopes because it doesn't check for the "special" scopes that imply other scopes. For example, the repo scope implies repo:invite.

X Description: As is, gotScopes does not contain certain scopes because it doesn't check for the "special" scopes that imply other scopes. For example, the repo scope implies repo:invite.

Opengraph URL: https://github.com/cli/cli/pull/5256

X: @github

direct link

Domain: github.com

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:6885b7fb-1d79-4b0d-c4a0-c550dbd3d86e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBAD2:165D8F:50CDA5E:7077330:6A50FA3E
html-safe-nonce1ff1e53c3b0f1eef9d6b406656d3fa67154bead92cf1f8579410be1de04aa0e2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUQyOjE2NUQ4Rjo1MENEQTVFOjcwNzczMzA6NkE1MEZBM0UiLCJ2aXNpdG9yX2lkIjoiNzIzMTk4NzE5MDMwNTE5MjUxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacaeeb0e936f7c5ba6569810d9d26dc4ae7225c560ba6c359fef43d1c19eacd74a
hovercard-subject-tagpull_request:864699332
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/cli/cli/5256/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e5693726678d144bd6bdeca9df3d7b73b44a49aebf7e304f67eaa44e2d9fe218/cli/cli/pull/5256
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e5693726678d144bd6bdeca9df3d7b73b44a49aebf7e304f67eaa44e2d9fe218/cli/cli/pull/5256
og:image:altAs is, gotScopes does not contain certain scopes because it doesn't check for the "special" scopes that imply other scopes. For example, the repo scope implies repo:invite.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemario-campos
hostnamegithub.com
expected-hostnamegithub.com
None5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838
turbo-cache-controlno-cache
go-importgithub.com/cli/cli git https://github.com/cli/cli.git
octolytics-dimension-user_id59704711
octolytics-dimension-user_logincli
octolytics-dimension-repository_id212613049
octolytics-dimension-repository_nwocli/cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id212613049
octolytics-dimension-repository_network_root_nwocli/cli
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
release8d836581d020676cc0ef4a83cd2fe17e4af02c3d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/cli/cli/pull/5256#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F5256
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fcli%2Fcli%2Fpull%2F5256
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=cli%2Fcli
Reloadhttps://github.com/cli/cli/pull/5256
Reloadhttps://github.com/cli/cli/pull/5256
Reloadhttps://github.com/cli/cli/pull/5256
Please reload this pagehttps://github.com/cli/cli/pull/5256
cli https://github.com/cli
clihttps://github.com/cli/cli
Notifications https://github.com/login?return_to=%2Fcli%2Fcli
Fork 8.7k https://github.com/login?return_to=%2Fcli%2Fcli
Star 45.2k https://github.com/login?return_to=%2Fcli%2Fcli
Code https://github.com/cli/cli
Issues 963 https://github.com/cli/cli/issues
Pull requests 48 https://github.com/cli/cli/pulls
Discussions https://github.com/cli/cli/discussions
Actions https://github.com/cli/cli/actions
Projects https://github.com/cli/cli/projects
Models https://github.com/cli/cli/models
Security and quality 8 https://github.com/cli/cli/security
Insights https://github.com/cli/cli/pulse
Code https://github.com/cli/cli
Issues https://github.com/cli/cli/issues
Pull requests https://github.com/cli/cli/pulls
Discussions https://github.com/cli/cli/discussions
Actions https://github.com/cli/cli/actions
Projects https://github.com/cli/cli/projects
Models https://github.com/cli/cli/models
Security and quality https://github.com/cli/cli/security
Insights https://github.com/cli/cli/pulse
samcoehttps://github.com/samcoe
cli:trunkhttps://github.com/cli/cli/tree/trunk
mario-campos:patch-1https://github.com/mario-campos/cli/tree/patch-1
Conversationhttps://github.com/cli/cli/pull/5256
Commits3 (3)https://github.com/cli/cli/pull/5256/commits
Checkshttps://github.com/cli/cli/pull/5256/checks
Files changedhttps://github.com/cli/cli/pull/5256/files
Fix obtained scope mapping to include implied scopeshttps://github.com/cli/cli/pull/5256#top
samcoehttps://github.com/samcoe
cli:trunkhttps://github.com/cli/cli/tree/trunk
mario-campos:patch-1https://github.com/mario-campos/cli/tree/patch-1
https://github.com/mario-campos
mario-camposhttps://github.com/mario-campos
Feb 26, 2022https://github.com/cli/cli/pull/5256#issue-1151833973
Please reload this pagehttps://github.com/cli/cli/pull/5256
https://github.com/mario-campos
Fix obtained scope mapping to include missing scopeshttps://github.com/cli/cli/pull/5256/commits/76d8040ec2367e572f34df256c7b9599c1839916
76d8040https://github.com/cli/cli/pull/5256/commits/76d8040ec2367e572f34df256c7b9599c1839916
https://github.com/mario-campos
mario-camposhttps://github.com/mario-campos
code ownerhttps://github.com/cli/cli/blob/cf4b73ff958b272cf3c9c0cf9351459f76b793a0/CODEOWNERS#L1
February 26, 2022 14:50https://github.com/cli/cli/pull/5256#event-6145491482
https://github.com/mario-campos
mario-camposhttps://github.com/mario-campos
mislavhttps://github.com/mislav
February 26, 2022 14:50https://github.com/cli/cli/pull/5256#event-6145491495
https://github.com/mario-campos
mario-camposhttps://github.com/mario-campos
Feb 26, 2022https://github.com/cli/cli/pull/5256#event-6145492383
https://github.com/cliAutomation
cliAutomationhttps://github.com/cliAutomation
external https://github.com/cli/cli/issues?q=state%3Aopen%20label%3Aexternal
Feb 26, 2022https://github.com/cli/cli/pull/5256#event-6145496496
https://github.com/cliAutomation
cliAutomationhttps://github.com/cliAutomation
Feb 26, 2022https://github.com/cli/cli/pull/5256#issuecomment-1052158905
Please reload this pagehttps://github.com/cli/cli/pull/5256
https://github.com/samcoe
samcoehttps://github.com/samcoe
Feb 28, 2022 https://github.com/cli/cli/pull/5256#pullrequestreview-894805511
View reviewed changes https://github.com/cli/cli/pull/5256/files/76d8040ec2367e572f34df256c7b9599c1839916
samcoehttps://github.com/samcoe
https://github.com/cli/cli/pull/5256#pullrequestreview-894805511
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/5256
https://github.com/samcoe
samcoehttps://github.com/samcoe
Feb 28, 2022https://github.com/cli/cli/pull/5256#event-6153061573
mario-camposhttps://github.com/mario-campos
February 28, 2022 08:35https://github.com/cli/cli/pull/5256#commits-pushed-bdec3da
https://github.com/mario-campos
Add a comment in ScopesSuggestion explaining branch statementshttps://github.com/cli/cli/pull/5256/commits/bdec3da0bd0d3ac5a7679f5de71db94fabaa3d05
bdec3dahttps://github.com/cli/cli/pull/5256/commits/bdec3da0bd0d3ac5a7679f5de71db94fabaa3d05
https://github.com/mario-campos
Delete whitespace to appease go-fmthttps://github.com/cli/cli/pull/5256/commits/2375dda3c9c3466f350445ee61264c37dccb54f1
2375ddahttps://github.com/cli/cli/pull/5256/commits/2375dda3c9c3466f350445ee61264c37dccb54f1
https://github.com/samcoe
samcoehttps://github.com/samcoe
March 1, 2022 14:25https://github.com/cli/cli/pull/5256#event-6162430964
https://github.com/samcoe
samcoehttps://github.com/samcoe
97ea5e7https://github.com/cli/cli/commit/97ea5e77b4d61d5d80ed08f7512847dee3ec9af5
Mar 1, 2022https://github.com/cli/cli/pull/5256#event-6162516423
https://github.com/mario-campos
mario-camposhttps://github.com/mario-campos
March 1, 2022 15:12https://github.com/cli/cli/pull/5256#event-6162765640
https://github.com/Dricecrushme
Dricecrushmehttps://github.com/Dricecrushme
Mar 8, 2022 https://github.com/cli/cli/pull/5256#pullrequestreview-903715427
View reviewed changes https://github.com/cli/cli/pull/5256/files/2375dda3c9c3466f350445ee61264c37dccb54f1
Dricecrushmehttps://github.com/Dricecrushme
https://github.com/cli/cli/pull/5256#pullrequestreview-903715427
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#5256https://github.com/cli/cli/pull/5256
Please reload this pagehttps://github.com/cli/cli/pull/5256
https://github.com/Dricecrushme
Dricecrushmehttps://github.com/Dricecrushme
Mar 8, 2022 https://github.com/cli/cli/pull/5256#pullrequestreview-903715776
View reviewed changes https://github.com/cli/cli/pull/5256/files/2375dda3c9c3466f350445ee61264c37dccb54f1
Dricecrushmehttps://github.com/Dricecrushme
https://github.com/cli/cli/pull/5256#pullrequestreview-903715776
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/cli/cli/pull/5256
https://github.com/Dricecrushme
Dricecrushmehttps://github.com/Dricecrushme
Mar 8, 2022 https://github.com/cli/cli/pull/5256#pullrequestreview-903718485
View reviewed changes https://github.com/cli/cli/pull/5256/files/2375dda3c9c3466f350445ee61264c37dccb54f1
Dricecrushmehttps://github.com/Dricecrushme
https://github.com/cli/cli/pull/5256#pullrequestreview-903718485
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@Dricecrushmehttps://github.com/Dricecrushme
Please reload this pagehttps://github.com/cli/cli/pull/5256
Update dependency cli/cli to v2 lam4long/test-renovate-config#7 https://github.com/lam4long/test-renovate-config/pull/7
Update dependency cli/cli to v2 lam4long/testing-renovate-config-22#7 https://github.com/lam4long/testing-renovate-config-22/pull/7
https://github.co/hiddenchars
https://github.com/cli/cli/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%2Fcli%2Fcli%2Fpull%2F5256
https://github.com/mislav
mislav https://github.com/mislav
https://github.com/Dricecrushme
Dricecrushme https://github.com/Dricecrushme
https://github.com/cli/cli/pull/5256/files/2375dda3c9c3466f350445ee61264c37dccb54f1
https://github.com/samcoe
samcoe https://github.com/samcoe
https://github.com/cli/cli/pull/5256/files/76d8040ec2367e572f34df256c7b9599c1839916
https://github.com/samcoe
samcoe https://github.com/samcoe
external https://github.com/cli/cli/issues?q=state%3Aopen%20label%3Aexternal
Please reload this pagehttps://github.com/cli/cli/pull/5256
https://github.com/mario-campos
https://github.com/cliAutomation
https://github.com/samcoe
https://github.com/Dricecrushme
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.