You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the 👍 reaction to show that you are affected by the same issue.
Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
Subscribe to receive notifications on status change and new comments.
Steps to reproduce
create a folder "test"
create a group "test"
share folder "test" with group "test"
delete group test
Expected behaviour
delete shares of group if group get deleted.
if later same group name get created again (maybe with other members) it will automatically have all the shares from the past
(this is also a "security" topic)
if later same group name get created again (maybe with other members) it will automatically have all the shares from the past
(this is also a "security" topic)
Thanks for reporting this. Shares to a group are now removed when the group is deleted, so recreating a group with the same name no longer brings the old shares back. This was fixed in #51000, which shipped in Nextcloud 32 and was backported to 31.0.1 and 30.0.7, together with an integration test for this exact scenario.
Activity
solracsf commentedon Apr 20, 2021
Have you reproduced this?
szaimen commentedon Jul 2, 2021
cc @nextcloud/security
nickvergessen commentedon Jul 2, 2021
Should listen to one of those events and clear all shares, yeah:
server/lib/private/Group/Group.php
Lines 361 to 366 in 215aef3
szaimen commentedon Jan 23, 2023
4 remaining items
ChairBorn commentedon Sep 6, 2024
Hey, @joshtrichards, @szaimen, I am looking to contribute, if available, can you assign it to me?
[-]group deletion not delete shares[/-][+]Group deletion should delete shares[/+]skjnldsv commentedon Apr 25, 2025
@ChairBorn any news? :)
ChairBorn commentedon Apr 25, 2025
I just saw the assignment, my bad, if you want me to still look at it, I can do it right now
susnux commentedon Nov 30, 2026
Thanks for reporting this. Shares to a group are now removed when the group is deleted, so recreating a group with the same name no longer brings the old shares back. This was fixed in #51000, which shipped in Nextcloud 32 and was backported to 31.0.1 and 30.0.7, together with an integration test for this exact scenario.