Skip to content

Handle Planner role in GitLab#12426

Merged
Seldaek merged 3 commits intocomposer:2.8from
stevenrombauts:gitlab-planner-permission
May 28, 2025
Merged

Handle Planner role in GitLab#12426
Seldaek merged 3 commits intocomposer:2.8from
stevenrombauts:gitlab-planner-permission

Conversation

@stevenrombauts
Copy link
Copy Markdown
Contributor

GitLab's new Planner permission has access level 15, which prevents Composer from figuring out that the token does not have enough access to determine the main branch.

See: https://docs.gitlab.com/api/access_requests/

@stof
Copy link
Copy Markdown
Contributor

stof commented May 27, 2025

the error message might need to be updated to mention Guest or Planner

Comment thread src/Composer/Repository/Vcs/GitLabDriver.php Outdated
Co-authored-by: Nils Adermann <naderman@naderman.de>
@stevenrombauts stevenrombauts requested a review from naderman May 27, 2025 19:59
@Seldaek Seldaek merged commit 0998176 into composer:2.8 May 28, 2025
20 checks passed
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.

4 participants