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
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.
Progress: Opened issue https://github.com/fedora-infra/noggin/issues/1415 in noggin. Added schema for removing a user to noggin-messages: https://github.com/fedora-infra/noggin-messages/pull/372
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
go-sig
Related PR for the new toddler here: https://pagure.io/fedora-infra/toddlers/pull-request/206
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.