owncloud / customgroups

Let users create their own custom groups
GNU Affero General Public License v3.0
8 stars 14 forks source link

fix: implement hooks to properly cleanup users upon complete removal #626

Closed pako81 closed 5 months ago

pako81 commented 5 months ago

We are currently missing the hook for removing the user from the oc_custom_group_member table when performing the user deletion. I do not see any reason why the user should still be listed in the custom groups view (with an X avatar).

This would solve the issue for both "normal" and guest users, as currently when navigating through the group members views a new invitation mail is going to be resent to the guest user so that he/she will regain access to resources he/she should no longer have access to.

pako81 commented 5 months ago

I also do not understand it, but running the tests locally confirm that test is failing with this PR in place.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
1 New issue
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud