Repository navigation
[full-ci] feat: resolve public link to actual location if possible - #9299
Conversation
f1e3dcf to
e2b5da0
Compare
e2b5da0 to
ba1c5c7
Compare
3141acb to
28f67a0
Compare
|
Results for e2e-tests oCIS-1 https://drone.owncloud.com/owncloud/web/36892/12/1 💥 To see the trace, please open the link in the console ...
npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36892/tracing/search-for-content-of-file-alice-2023-6-29-09-26-02.zipnpx playwright show-trace https://cache.owncloud.com/public/owncloud/web/36892/tracing/search-for-content-of-file-brian-2023-6-29-09-26-07.zip |
28f67a0 to
f0f30d7
Compare
0c09f07 to
4d1674c
Compare
ab9fa39 to
907311a
Compare
| if (internalSpace) { | ||
| const resource = await clientService.webdav.getFileInfo(internalSpace, { path }) | ||
|
|
||
| const resourceId = resource.type !== 'folder' ? resource.parentFolderId : resource.fileId |
There was a problem hiding this comment.
Can you explain this a little? Why is the parent folder of the space relevant?
There was a problem hiding this comment.
Sure, it's relevant because in case of a single file, we want to resolve its parent folder/space and mark the file in the filelist.
|
Bug encountered while testing User A shares new file.txt from Personal home with User B User B sees a empty files list, while new file.txt shows in breadcrumbs |
|
Bug encountered Expectation: |
|
E2E tests are missing, might be added in Follow UP |
907311a to
b7a4f5f
Compare
There was a problem hiding this comment.
Fyi: The changes here were made in the past but got lost because they never made it to master: https://github.com/owncloud/web/pull/8310/files#diff-a4dfebeac8039a0664a3aaf5e347a693b1d02a0304fcb203e111cd92df3c907f
b7a4f5f to
a6ce929
Compare
a6ce929 to
7b25228
Compare
Resolve public links to their actual location if the user has proper access to the resource (either via space or share).
Fixes an issue where opening public links in an authenticated context would prevent uploading resources.
c444858 to
0dc0499
Compare
3107e6a to
7224a1b
Compare
|
SonarCloud Quality Gate failed.
|













Description
Resolve public links to their actual location if the user has proper access to the resource (either via space or share). Also fixes an issue where opening public links in an authenticated context would prevent uploading resources.
Related Issue
Types of changes