-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to navigate to others with access from the sidebar #20262
Conversation
@@ -851,8 +851,11 @@ public function getInheritedShares(string $path): DataResponse { | |||
throw new OCSNotFoundException($this->l->t('Could not lock path')); | |||
} | |||
|
|||
if (!($node->getPermissions() & Constants::PERMISSION_SHARE)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@daita any reason you didn't just go with this check?
I'm asking since your confirmresharingrights doesn't work if you and in the sub sub folder of a share.
6e38185
to
25907e2
Compare
/compile amend / |
To review
Now for example login as user3. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@rullzer Is there a separate issue that it doesn't display user1? |
Yes, I mentionned it to Roeland already :) |
Right I gues we need to fix that separately yes... But let me first rebase this and get it in and then I look at that case |
25907e2
to
3eb2e9b
Compare
/compile amend / |
Signed-off-by: Roeland Jago Douma <[email protected]> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
3eb2e9b
to
d466a7b
Compare
The backport to review failed. Please do this backport manually. |
/backport to stable18 |
Signed-off-by: Roeland Jago Douma [email protected]