-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add X-Lock-Id to the datagatway to enable upload to a locked file * expire locks and enable unlock without current user check * fix paths and check additional scopes * implement locking on public storage provider * remove superflous scope checks * use reference from info * pass lockid on InitiateUploadRequest * fix locking scope check for public links * add changelog * adapt tests to new logic * reintroduce lock modification checks * fix return code on expired lock * add and adapt tests * switch to forbidden * rework lock modification permission logic * fix lint issues * simplify locking logic * update changelog * use user from context for webdav unlock request
- Loading branch information
Showing
10 changed files
with
315 additions
and
50 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,12 @@ | ||
Bugfix: Fix locking on publik links and the decomposed filesystem | ||
|
||
We've fixed the behavior of locking on the decomposed filesystem, so that now | ||
app based locks can be modified user independently (needed for WOPI integration). | ||
Also we added a check, if a lock is already expired and if so, we lazily delete the lock. | ||
The InitiateUploadRequest now adds the Lock to the upload metadata so that an upload to an | ||
locked file is possible. | ||
|
||
We'v added the locking api requests to the public link scope checks, so that locking | ||
also can be used on public links (needed for WOPI integration). | ||
|
||
https://github.com/cs3org/reva/pull/2625 |
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
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
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
Oops, something went wrong.