Skip to content

[BUG]Regular users are able to open submited solutions by other users #283

@karastoyanov

Description

@karastoyanov

Describe the bug
Every regular user can open the submited solutions for the other users. The chance is very low due to the random submission id generated in the backend logic, however a bugfix is needed.

To Reproduce
Steps to reproduce the behavior:
N/A

Expected behavior
Limit the user's access to the submited solutions. Only the admins and the author of the solution should be able to open the solution.

Metadata

Metadata

Assignees

Labels

backendFlask functionalitybugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions