groupfolders icon indicating copy to clipboard operation
groupfolders copied to clipboard

After a user is removed from a group, shares from that user remain in groupfolders

Open simon-eller opened this issue 2 years ago โ€ข 6 comments

Steps to reproduce

  1. create a group and add user-a and user-b to it
  2. create a groupfolder and share it to before created group
  3. as user-a upload a file to the groupfolder and share the file within the groupfolder with user-c with all permissions
  4. user-b and user-c are now able to edit the file
  5. user-b can see that the file was shared to user-c
  6. delete user-a from the group

Expected behaviour

Ideal solution

After the deletion of user-a from the group the share to user-c should be deleted and only user-b should have access to the file in the groupfolder.

Alternative solutions

  • user-b should have the option to edit the shares or delete them.
  • Or all shares of user-a should should be transfered to user-b

Actual behaviour

In the sharing options of the file user-b notices that user-c is not in the list of shared-with anymore but user-c still sees the shared file in his file list, can watch the preview and is able to comment this file. (comments also get displayed to user-b)

user-c would have to leave the share by himself but will he do it? ...

Reading out the metadata of the file is btw not possible and causes the following error.

An error occured while trying to read xmp-data: File by id 157 not found

Server configuration

Nextcloud version: (see Nextcloud admin page) 27.1.5

Group folders version: 15.3.4

simon-eller avatar Feb 20 '24 15:02 simon-eller

I can confirm this unexpected behavior humble. NC 28.0.2, GF 16.0.4

SignFinder avatar Mar 25 '24 11:03 SignFinder