Skip to content

fix: pat is now accessible in devguard cli dialog - #884

Open
juliankepka wants to merge 1 commit into
mainfrom
fix/pat-devguard-cli
Open

fix: pat is now accessible in devguard cli dialog#884
juliankepka wants to merge 1 commit into
mainfrom
fix/pat-devguard-cli

Conversation

@juliankepka

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings August 10, 2026 10:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

personalAccessTokens.length - 1
] as SeeOncePatWithPrivKey)
: undefined,
pat: findLast(personalAccessTokens, hasPrivKey),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we need to check, if the personal access tokens (which they are not personal anymore) does relate to the project, group, org etc. We need to check the current context in which the usePersonalAccessToken function is called and select a matching one.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indentify risk via CLI Dialog shows no token after creating a symmetric token

3 participants