This repository has been archived by the owner on Jan 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from butonic/allow_different_namespaces
allow different namespaces
- Loading branch information
Showing
5 changed files
with
34 additions
and
8 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
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,16 @@ | ||
Bugfix: Allow different namespaces for /webdav and /dav/files | ||
|
||
After fbf131c the path for the "new" webdav path does not contain a username `/remote.php/dav/files/textfile0.txt`. It used to be `/remote.php/dav/files/oc/einstein/textfile0.txt` So it lost `oc/einstein`. | ||
|
||
This PR allows setting up different namespaces for `/webav` and `/dav/files`: | ||
|
||
`/webdav` is jailed into `/home` - which uses the home storage driver and uses the logged in user to construct the path | ||
`/dav/files` is jailed into `/oc` - which uses the owncloud storage driver and expects a username as the first path segment | ||
|
||
This mimics oc10 | ||
|
||
The `WEBDAV_NAMESPACE_JAIL` environment variable is split into | ||
- `WEBDAV_NAMESPACE` and | ||
- `DAV_FILES_NAMESPACE` accordingly. | ||
|
||
Related: https://github.com/owncloud/ocis-reva/pull/68 |
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
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
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