Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mario-campos
Copy link
Contributor

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.

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`.
@mario-campos mario-campos requested a review from a team as a code owner February 26, 2022 14:50
@mario-campos mario-campos requested review from mislav and removed request for a team February 26, 2022 14:50
@mario-campos mario-campos changed the title Fix obtained scope mapping to include missing scopes Fix obtained scope mapping to include implied scopes Feb 26, 2022
@cliAutomation cliAutomation added the external pull request originating outside of the CLI core team label Feb 26, 2022
@cliAutomation
Copy link
Collaborator

Hi! Thanks for the pull request. Please ensure that this change is linked to an issue by mentioning an issue number in the description of the pull request. If this pull request would close the issue, please put the word 'Fixes' before the issue number somewhere in the pull request body. If this is a tiny change like fixing a typo, feel free to ignore this message.

Copy link
Contributor

@samcoe samcoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. I think it would be nice to add a small comment with a link to the docs where these special scopes are enumerated.

@samcoe samcoe self-assigned this Feb 28, 2022
@samcoe samcoe enabled auto-merge (squash) March 1, 2022 14:25
@samcoe samcoe merged commit 97ea5e7 into cli:trunk Mar 1, 2022
@mario-campos mario-campos deleted the patch-1 branch March 1, 2022 15:12
Copy link

@Dricecrushme Dricecrushme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@Dricecrushme Dricecrushme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gh pr checkout 5256

Copy link

@Dricecrushme Dricecrushme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Dricecrushme #gh pr checkout 5256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external pull request originating outside of the CLI core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants