Skip to content
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

Sync upload permissions with GitHub team members #3618

Closed
alecharp opened this issue Jun 6, 2023 · 6 comments
Closed

Sync upload permissions with GitHub team members #3618

alecharp opened this issue Jun 6, 2023 · 6 comments

Comments

@alecharp
Copy link

alecharp commented Jun 6, 2023

Hello,

a few weeks ago, I removed myself from a number of plugins in the jenkins-infra/repository-permissions-updater.

However, it was brought to my attention that I was still having admin access to those repositories because I was still in the team managing those repositories.

Is there a way to sync the two together? I know that in my case it's easy to match my ldap user to my github user, but I know it's not the case for everyone.

My question is, is there a way to manage those permissions globally or are we blocked because of #6?

@NotMyFault
Copy link
Member

NotMyFault commented Jun 6, 2023

The RPU acts independently of GH permissions, this is not a "as-code" approach.
It's not uncommon to find repositories, where only a few people have release permission, but more have repository access or vice versa. The RPU maintains release permission and provides a security contact, but that's it in terms of the user part.

To remove your GH permissions, you can leave the team on your own.

@timja
Copy link
Member

timja commented Jun 6, 2023

@halkeye did some work awhile ago to try and codify GitHub permissions in the same file but didn't finish I believe.

@alecharp
Copy link
Author

alecharp commented Jun 6, 2023

To remove your GH permissions, you can leave the team on your own.

Yes I did in my situation. But we might find some others who didn't, left the project entirely.
When someone ask to get a permission on GH, once approved, is it granted manually by an admin?

@timja
Copy link
Member

timja commented Jun 6, 2023

When someone ask to get a permission on GH, once approved, is it granted manually by an admin?

By someone on the hosting team yes

@alecharp
Copy link
Author

alecharp commented Jun 6, 2023

Alright, I see. So, at this moment there is no way to sync up the lists.
Thank you for your answers.

@alecharp alecharp closed this as completed Jun 6, 2023
@halkeye
Copy link
Member

halkeye commented Jun 6, 2023

https://community.jenkins.io/t/codify-github-access/799/10

From my tests manging teams not repo access seemed like the way to go, it could be done very quickly, while looping through repos was very slow.

But then it involved writing up proposals and I sorta fizzled out.

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

No branches or pull requests

4 participants