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

Create jenkins-release-admins for ci-release #1194

Closed
4 of 5 tasks
gibfahn opened this issue Mar 25, 2018 · 15 comments
Closed
4 of 5 tasks

Create jenkins-release-admins for ci-release #1194

gibfahn opened this issue Mar 25, 2018 · 15 comments
Assignees

Comments

@gibfahn
Copy link
Member

gibfahn commented Mar 25, 2018

Following discussion on #1107 in the last build meeting (see the minutes), we decided that it would be a good idea to split out admins for ci-release from the existing group, as that way we can be freer with how we give access to ci.

Steps

  • Create jenkins-release-admins team and add existing jenkins-admins group
  • Give that group admin access to ci-release
  • Check that everyone still has access.
  • Remove jenkins-admins access from ci-release
  • PR to access.md documenting this.

cc/ @maclover7

@juggernaut451
Copy link

@gibfahn would like to contribute to this. Could you please mentor me on this

@gibfahn
Copy link
Member Author

gibfahn commented May 7, 2018

@juggernaut451 I'm afraid there's not much you could do here without the right accesses.

@juggernaut451
Copy link

@gibfahn could you please give me a minimal access so that I can contribute to it. If not then can you tell me how can I get the right access?

@maclover7
Copy link
Contributor

@gibfahn Would it be possible for you to expedite this ticket -- I am still hanging on for elevated permissions on non-release CI

@rvagg
Copy link
Member

rvagg commented May 30, 2018

OK, so I've done this:

  • rename jenkins-admins to jenkins-release-admins
  • made a new jenkins-admins with jenkins-release-admins as a "Parent"
  • changed ci-release to use jenkins-release-admins
  • added @maclover7 to jenkins-admins

I think this gives us what we want. From what I understand, everyone in jenkins-release-admins gets jenkins-admins permissions. It works for me but I'm in both teams cause I made them. Please let me know here if something isn't right.

@mhdawson
Copy link
Member

looks like I can still at least select configure for jobs so thinking that means it is ok.

@maclover7
Copy link
Contributor

@rvagg Thank you! I can file a PR updating access.md in the next few days

@refack
Copy link
Contributor

refack commented May 30, 2018

I lost admin access to the public Jenkins. prbly need to rename group in the main roles matrix.

@refack
Copy link
Contributor

refack commented May 30, 2018

Also I think the teams should be flipped since membership is transitive.
so currently:
jenkins-admins = (rvagg + @maclover7)
jenkins-admins-release = (everyone else + (rvagg + @maclover7))

@richardlau
Copy link
Member

@refack I think jenkins-admins-release (admins for the release CI) is supposed to be a smaller subset of jenkins-admins (admins for the regular CI).

@refack
Copy link
Contributor

refack commented May 30, 2018

@richardlau I agree, so the current status is flipped.

@gibfahn
Copy link
Member Author

gibfahn commented May 30, 2018

Looks like someone is updating these teams right now, so I'll avoid doing anything.

@rvagg
Copy link
Member

rvagg commented May 30, 2018

I must be daft or something because this inheritance makes no sense to me if it's not working. I made jenkins-admins have a "Parent" of jenkins-release-admins, assuming that it would inherit everyone in jenkins-release-admins and add anyone extra, but apparently that's not how this works?
I've ditched the inheritance and just duplicated members. If someone (with access) groks this and wants to make it inherit properly, then go for it.

@refack
Copy link
Contributor

refack commented May 30, 2018

Well it works for me now 🤷‍♂️

@gibfahn
Copy link
Member Author

gibfahn commented May 30, 2018

I must be daft or something because this inheritance makes no sense to me if it's not working. I made jenkins-admins have a "Parent" of jenkins-release-admins

I think jenkins-admins should be the parent, and jenkins-release-admins should be the child. I'd assume parent teams would contain the sum of their child team's users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants