Skip to content

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

@simon-eller

Description

@simon-eller

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

Metadata

Metadata

Assignees

Labels

1. to developIssues that are ready for developmentbug

Type

Projects

Status

📄 To do (~10 entries)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions