-
Notifications
You must be signed in to change notification settings - Fork 186
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
Public cannot download folder via the public link of the project space #5027
Comments
QA:
|
@micbar @aduffeck
Expectation: It should work Actual behavior: It doesn't server log: web_ocis | 2022-12-15T03:52:28Z ERR error when calling Createhome error="gateway: grpc failed with code CODE_PERMISSION_DENIED" service=proxy
web_ocis | 2022-12-15T03:52:28Z ERR error resolving reference resource_id:<storage_id:"1284d238-aa92-42ce-bdc4-0b0000009157" opaque_id:"b2c80be1-8310-45fc-b015-4af21af6aaf4" space_id:"06ed60a3-0a98-4f7c-9914-c0daf30ab17d" > path:"." under scope publicshare:OfPYouacfcxXXjB error="error: permission denied: access forbidden via public link" pkg=rgrpc service=gateway traceid=00000000000000000000000000000000
web_ocis | 2022-12-15T03:52:28Z ERR error resolving reference resource_id:<storage_id:"1284d238-aa92-42ce-bdc4-0b0000009157" opaque_id:"b2c80be1-8310-45fc-b015-4af21af6aaf4" space_id:"06ed60a3-0a98-4f7c-9914-c0daf30ab17d" > path:"." under scope publicshare:OfPYouacfcxXXjB error="error: permission denied: access forbidden via public link" pkg=rgrpc service=gateway traceid=00000000000000000000000000000000
web_ocis | 2022-12-15T03:52:28Z ERR unary code=PermissionDenied end="15/Dec/2022:03:52:28 +0000" from=tcp://127.0.0.1:49962 pkg=rgrpc service=gateway start="15/Dec/2022:03:52:28 +0000" time_ns=2883858 traceid=00000000000000000000000000000000 uri=/cs3.storage.registry.v1beta1.RegistryAPI/ListStorageProviders user-agent="Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36"
web_ocis | 2022-12-15T03:52:28Z ERR error: not found: gateway could not find space for ref=resource_id:<storage_id:"1284d238-aa92-42ce-bdc4-0b0000009157" opaque_id:"b2c80be1-8310-45fc-b015-4af21af6aaf4" space_id:"06ed60a3-0a98-4f7c-9914-c0daf30ab17d" > path:"." pkg=rhttp service=frontend ocis started with image: |
I couldn't find any tests, I'll add some |
created new issue here #5229 |
Tests to cover this has been added. |
ownCloud Web UI 6.0.0-rc.6
Infinite Scale 2.0.0-rc.1
Steps:
Actual: not possible to download folder
ocis_log:
{"level":"error","service":"frontend","pkg":"rhttp","traceid":"00000000000000000000000000000000","host":"127.0.0.1","method":"GET","uri":"/archiver?public-token=eTIYZKkkWqiQoso&id=1284d238-aa92-42ce-bdc4-0b0000009157$9c741128-f470-4267-a0fe-7eb1656f3baf!bed1319d-30d7-4904-b2ce-8ee541962d58","url":"/archiver?public-token=eTIYZKkkWqiQoso&id=1284d238-aa92-42ce-bdc4-0b0000009157$9c741128-f470-4267-a0fe-7eb1656f3baf!bed1319d-30d7-4904-b2ce-8ee541962d58","proto":"HTTP/1.1","status":500,"size":98,"start":"10/Nov/2022:12:10:20 +0000","end":"10/Nov/2022:12:10:20 +0000","time_ns":8793417,"time":"2022-11-10T12:10:20.375181713Z","message":"http"}
The text was updated successfully, but these errors were encountered: