Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

[Backport 5.0] [gitlab] Disable repo permissions syncing if auth type is oauth#51460

Merged
unknwon merged 1 commit into
5.0from
backport-51452-to-5.0
May 4, 2023
Merged

[Backport 5.0] [gitlab] Disable repo permissions syncing if auth type is oauth#51460
unknwon merged 1 commit into
5.0from
backport-51452-to-5.0

Conversation

@github-actions

@github-actions github-actions Bot commented May 4, 2023

Copy link
Copy Markdown
Contributor

Disables repo-based permissions syncing if the auth provider type for a GitLab code host connection is set as oauth. Repo-based permissions syncing has a lot of gotchas when it comes to token permissions, and they are very hard to debug and fundamentally flawed.

Test plan

Updated unit tests

<!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->

Backport f20f1ed from #51452

@github-actions github-actions Bot requested a review from pjlast May 4, 2023 11:46
@pjlast pjlast requested a review from a team May 4, 2023 11:47
@unknwon unknwon merged commit 37a5c21 into 5.0 May 4, 2023
@unknwon unknwon deleted the backport-51452-to-5.0 branch May 4, 2023 12:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants