Skip to content

[Fix] Change GitLab syncing behaviour for groups and users to include projects that are _not_ owned by the token - #51

Merged
brendan-kellam merged 3 commits into
mainfrom
bkellam/gitlab_remove_owned_param
Oct 25, 2024
Merged

brendan-kellam merged 3 commits into
mainfrom
bkellam/gitlab_remove_owned_param

Conversation

@brendan-kellam

Copy link
Copy Markdown
Contributor

Previously, we were using the owned=true query parameter for our requests to GET /groups/:id/projects and GET /users/:user_id/projects which "Limits by projects explicitly owned by the current user.". This becomes an issue when the provided access token isn't associated with a user with type owner for all projects in the group / user.

This PR removes this constraint.

Fixes #50

@brendan-kellam
brendan-kellam merged commit 8019f31 into main Oct 25, 2024
@brendan-kellam
brendan-kellam deleted the bkellam/gitlab_remove_owned_param branch October 25, 2024 19:01
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.

[GitLab] Projects that aren't owned by the provided token are not being picked up for indexing.

2 participants