Please confirm the following.
Describe the bug
While waiting for moderation you can download your own project (thats normal) but any unauthenticated user / not project owner is able to download it too, the solution would be to guard the download endpoint with ownership and role checking.
This is a minor issue but could contribute to an exploit.
Steps to reproduce
- Get the url of unmoderated project download
- Use incognito mode to erase tokens
- access the url
Expected behavior
The user shall not be able to download the file since it is unmoderated
Additional context
No response
Please confirm the following.
Describe the bug
While waiting for moderation you can download your own project (thats normal) but any unauthenticated user / not project owner is able to download it too, the solution would be to guard the download endpoint with ownership and role checking.
This is a minor issue but could contribute to an exploit.
Steps to reproduce
Expected behavior
The user shall not be able to download the file since it is unmoderated
Additional context
No response