Is there a hook triggered after adding a user in a group ?
I need to synchronize users in forgejo app which manage admins and regular users. I want to launch synchronization when a user is added or removed from yunohost admin (e.g.) group.
Actually, since you are referring to Forgejo in the issue (it’s always nice to give the full context, for XY problem avoidance, etc.)… wouldn’t this be what you need?
This synchronization process is triggered by Forgejo itself on midnight every day.
What I want is to keep synchronization up to date. For this purpose, I «manually» trigger it during the create / delete user hook and the add / remove app access hook. My issue (you understood it) is the lack of hook when a user is added / removed into / from a group.