quads
quads copied to clipboard
[BUG] Improve user authorization for creating assignment
- QUADS version (
rpm -qa | grep quadsand/orquads --version): - Python version:
- Operating System:
Describe the bug A clear and concise description of what the bug is.
https://github.com/redhat-performance/quads/blob/8055b8d6446a0b0bfbb67c5537b352d4c42a9024/src/quads/server/blueprints/schedules.py#L87-L92
Both users and admins have the same authorization levels. This will cause users can create schedules on their own
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.