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

500 error if viewer tries to lock file #7600

Closed
ScharfViktor opened this issue Oct 26, 2023 · 0 comments · Fixed by #7611
Closed

500 error if viewer tries to lock file #7600

ScharfViktor opened this issue Oct 26, 2023 · 0 comments · Fixed by #7611
Assignees
Labels

Comments

@ScharfViktor
Copy link
Contributor

Steps:

  • user creates file and shares file with viewer permissions to einstein
  • einstein tries to lock file

or

  • viewer- member of space tries to lock file inside of space

curl -XLOCK "https://localhost:9200/dav/spaces/fileUUID" -ueinstein:relativity -H "Content-Type: application/json" -H "timeout: Second-30" -d"<?xml version='1.0' encoding='UTF-8'?><d:lockinfo xmlns:d='DAV:'><d:lockscope><d:shared/></d:lockscope></d:lockinfo>" -vk

Expected: 403
Actual: 500 error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants