quads icon indicating copy to clipboard operation
quads copied to clipboard

[BUG] Improve user authorization for creating assignment

Open athiruma opened this issue 1 year ago • 0 comments

  • QUADS version (rpm -qa | grep quads and/or quads --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:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. 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.

athiruma avatar Jan 16 '25 12:01 athiruma