Skip to content

fix(gitlab): list required fine-grained permissions and surface login errors - #3264

Merged
afonsojramos merged 5 commits into
mainfrom
issue-3252
Sep 3, 2026
Merged

fix(gitlab): list required fine-grained permissions and surface login errors#3264
afonsojramos merged 5 commits into
mainfrom
issue-3252

Conversation

@afonsojramos

Copy link
Copy Markdown
Member

Summary

  • The GitLab personal access token login hint now names the fine-grained permissions the login actually needs, Todo (read, update) and User (read), instead of claiming the Todo resource alone is enough; Metadata and Personal Access Token (read) remain optional and only feed the instance version and scope display on the Accounts page.
  • The token validation failure banner shows the underlying error on a second line (first line only, capped at 150 characters, non-Error rejections skipped), so a 403 from a token that lacks permissions is visible instead of only the generic message.
  • GitLab API error messages no longer end in a trailing space when an HTTP/2 response carries no reason phrase.
  • The redundant "on your GitLab instance to create a token" caption is removed from the GitLab form and the shared form prop is now optional, with the snapshot and visual baselines regenerated.

Closes #3252

@afonsojramos
afonsojramos requested a review from setchy as a code owner September 3, 2026 17:22
@github-actions github-actions Bot added the bug Something isn't working label Sep 3, 2026
# Conflicts:
#	src/renderer/routes/__screenshots__/routes.visual.test.tsx/login-gitlab-personal-access-token-dark-classic-chromium-linux.png
#	src/renderer/routes/__screenshots__/routes.visual.test.tsx/login-gitlab-personal-access-token-light-classic-chromium-linux.png
@sonarqubecloud

sonarqubecloud Bot commented Sep 3, 2026

Copy link
Copy Markdown

@afonsojramos
afonsojramos merged commit 4cee724 into main Sep 3, 2026
19 checks passed
@afonsojramos
afonsojramos deleted the issue-3252 branch September 3, 2026 17:59
@github-actions github-actions Bot added this to the Release 7.x.x milestone Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Development

Successfully merging this pull request may close these issues.

Gitlab: fine-grained token require more permissions than just Todo

2 participants