Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

brendan-kellam
Copy link
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
1 check passed
@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