Server status - Show to all users
@ mention of reviewers`
@Didayolo`
A brief description of the purpose of the changes contained in this PR.
Now all users can see server_status
page.
Everything stays the same for super admin but for normal users they can do the following:
- see their own submissions
- see the submissions which are using a queue whose owner is this user.
Note: a user can see past submissions too if you change a queue in a competition from default to this user's queue. And user can lose all submissions showing before but not anymore because queue is changed to another queue. This happens because queue
is part of a competition and not a submission.
Screenshots:
user ihsan01
can see his own submissions running on default queue (*) and he can also see some other submissions from other user because they are running on queue: aaa
whose owner is ihsan01
Button in queue page to go to server status page
Issues this PR resolves
- #744 (closed) -> users should be able to see status page with their own submissions only
- #744 (closed) -> Users should be able to see only the queue they are administrating. This is indeed useful when debugging and monitoring a competition
- #744 (closed) -> When this is done, we should add a button in the Queue Management page that redirects to the job status page.
Checklist
-
Code review by me -
Hand tested by me -
I'm proud of my work -
Code review by reviewer -
Hand tested by reviewer -
CircleCi tests are passing -
Ready to merge