#190 Toddler for cleaning packager groups
Opened 7 months ago by zlopez. Modified 2 months ago

Currently when the user is removed from packager group it is not removed from specialized packager groups. For example go-sig (see https://pagure.io/fedora-infrastructure/issue/11788). We should have a list of packager groups and remove the user from those.

This could be triggered by membership removal message from FAS.


Metadata Update from @zlopez:
- Issue assigned to lenkaseg

4 months ago

Seems there is no membership removal message in FAS.
Either it has to be added to the messagebus first, or figure out another way to know if a user has been removed.

Update:
Message sent to fedora-messaging at the event of removing a user, PR opened here: https://github.com/fedora-infra/noggin/pull/1422

Is there a way to know which distgit groups require packager access?

Trying to figure out which distgit groups a user should be removed from, when the user is removed from packager group.

go-sig for sure

Is there a way to know which distgit groups require packager access?

It should be 100%/all of them. :)

Any group that exists on src.fedoraproject.org should be a packager group I think.

Trying to figure out which distgit groups a user should be removed from, when the user is removed from packager group.

go-sig for sure

I think it should be all/any of them

OK. For that I need to get a list of distgit groups the user is member of.
I see there is no way to see that kind of info from the view user endpoint: https://pagure.io/pagure/blob/1b7d305/f/pagure/api/user.py#_37

So I will have to write it first.

Log in to comment on this ticket.

Metadata