Skip to content

Conversation

@icewind1991
Copy link
Member

a user can have access to a file trough different paths, with differing permissions combine all permissions to determine if the user can share this file.

To test:

  • create folder /a and /a/b
  • share /a with user1 without reshare permissions
  • share /a/b with user1 with full permissions
  • user1 now has access to b from either /b or /a/b
  • as user1 try to reshare /a/b

Currently, the ui shows the option to reshare a/b, but errors when you try to reshare
Sharing /b already works currently.

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Mar 23, 2022
@icewind1991 icewind1991 added this to the Nextcloud 24 milestone Mar 23, 2022
@Pytal
Copy link
Member

Pytal commented Mar 23, 2022

Backport?

@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@icewind1991 icewind1991 force-pushed the user-share-permissions-merge branch from 8c949a4 to 3a049c2 Compare March 24, 2022 15:57
@szaimen szaimen added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Mar 25, 2022
@szaimen
Copy link
Contributor

szaimen commented Mar 25, 2022

Test failures...

@blizzz blizzz mentioned this pull request Mar 31, 2022
@icewind1991
Copy link
Member Author

/backport to stable23

@icewind1991 icewind1991 force-pushed the user-share-permissions-merge branch 2 times, most recently from 417d2fb to eb9600a Compare March 31, 2022 14:35
@icewind1991 icewind1991 force-pushed the user-share-permissions-merge branch from eb9600a to 278b131 Compare March 31, 2022 14:47
@icewind1991
Copy link
Member Author

Fixed tests

@szaimen szaimen merged commit 1ceb6cd into master Apr 5, 2022
@szaimen szaimen deleted the user-share-permissions-merge branch April 5, 2022 15:37
@szaimen szaimen added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Apr 5, 2022
@blizzz blizzz mentioned this pull request Apr 7, 2022
@PVince81
Copy link
Member

@icewind1991 is this 23 only or also needs 22 backport ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants