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
{{ message }}
Repository navigation
Deleting a folder does not delete affected shares fore files within it #6985
Also, what I encountered is that if you share that folder with a Group and delete the folder then without unsharing it ... the Group name will stay in the user management even if all members are removed from the group.
Steps to reproduce:
in user-management assign some users to a new group
share a folder with that group
delete that folder without unsharing it
remove all group members from that group
Expected behaviour: the group-name should diappear.
Instead: the group-name stays
@hanibal8 your issue seems to be different, apparently you are expecting that when you delete all users from a group the empty group gets deleted. I think it is fine to keep empty groups. OC 7.0.3 makes it possible to delete groups in the UI, so these can be deleted now by the admin.
@schiesbn would it be easier to remove these entries without resorting to cleanup scripts, especially with the way how shares are implemented in OC 7 ?
Activity
karlitschek commentedon Jan 28, 2014
@schiesbn
PVince81 commentedon Mar 12, 2014
@schiesbn didn't you mention some automatic process to clean up such old data in another ticket ?
PVince81 commentedon May 6, 2014
@schiesbn any update on this ?
How does it affect the new sharing ?
hanibal8 commentedon Jun 13, 2014
Also, what I encountered is that if you share that folder with a Group and delete the folder then without unsharing it ... the Group name will stay in the user management even if all members are removed from the group.
Steps to reproduce:
Expected behaviour: the group-name should diappear.
Instead: the group-name stays
PVince81 commentedon Dec 5, 2014
@schiesbn still occurs on OC 7.0.4 RC1
@hanibal8 your issue seems to be different, apparently you are expecting that when you delete all users from a group the empty group gets deleted. I think it is fine to keep empty groups. OC 7.0.3 makes it possible to delete groups in the UI, so these can be deleted now by the admin.
PVince81 commentedon Dec 5, 2014
Interesting, so this is a way to create orphaned share entries from the UI.
Also happens when sharing with a user instead of with a link.
And also happens on OC 8 pre-alpha (master 89db2a0)
PVince81 commentedon Dec 5, 2014
@schiesbn would it be easier to remove these entries without resorting to cleanup scripts, especially with the way how shares are implemented in OC 7 ?
The orphaned cleanup ticket is here: #12323
PVince81 commentedon Mar 23, 2015
We might still want to delete orphaned shares in the background, experimental PR here: #14676
PVince81 commentedon Mar 23, 2015
Assigning to self, I'd say the bkg job is the way to go now.
PVince81 commentedon Apr 9, 2015
Fixed through #14676
butonic commentedon Apr 9, 2015
Thx a lot @PVince81