forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth/scope): fix nested resource check when creating a new resource
When creating a reource (e.g a document via the app/new endpoint) below a next folder structure of a public link, we can't stat the resource itself (it doesn't exit yet) for checking if it is a descendant of the share root. We now stat the resource's parent instead in that case. Fixes: owncloud/ocis#8957 (cherry picked from commit 5faad8d)
- Loading branch information
Showing
2 changed files
with
19 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Bugfix: Fix creating documents in nested folders of public shares | ||
|
||
We fixed a bug that prevented creating new documented in a nested folder | ||
of a public share. | ||
|
||
https://github.com/cs3org/reva/pull/xxxx | ||
https://github.com/cs3org/reva/pull/4660 | ||
https://github.com/owncloud/ocis/issues/8957 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters