-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Correctly remove usergroup shares on removing group members #22015
Correctly remove usergroup shares on removing group members #22015
Conversation
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 31122: failureintegration-auth
Show full log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and verified. Backport down to stable18 should work (the UserRemovedEvent
event was added then)
Signed-off-by: Joas Schilling <coding@schilljs.com>
f24ee81
to
5993bd4
Compare
Rebased and squashed |
/backport to stable19 |
/backport to stable18 |
|
In the DB backend it is only triggered on user deletion: server/lib/private/User/User.php Line 224 in cb05782
|
The user removal from a group is a different event: server/lib/private/Group/Group.php Lines 222 to 227 in caff102
|
Steps
There seems to be inconsistency for LDAP and other group backends. The listened old hook
'OC_User', 'post_removeFromGroup'
is not emitted in the normal user/group backend since 16 at least?