Skip to content
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

[OCM] federated user trying to download file shared with permissions role Secure Viewer returns 500 status code #10822

Open
Tracked by #10073
PrajwolAmatya opened this issue Jan 2, 2025 · 0 comments
Labels

Comments

@PrajwolAmatya
Copy link
Contributor

Describe the bug

When a federated user tries to download shared resource shared with permissions role Secure Viewer, the server returns 500 status code.

For default permissions role, the federated user can successfully download the resource.

Steps to reproduce

  1. Local user Alice creates a file textfile.txt
  2. Alilce shares the file with permissions role Secure Viewer to federated user Brian
  3. Brian tries to download the file textfile.txt
curl -kv -XGET -ubrian:1234 https://localhost:10200/remote.php/dav/spaces/{remote-item-id}

Expected behavior

The response should return 403 status code.

Actual behavior

The response returns 500 status code.

< HTTP/1.1 500 Internal Server Error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant