-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server status - Show to all users #1098
Conversation
It is not due to this PR, because I can reproduce the bug in Steps to reproduce:
We just have to change the queue, without re-submitting, and the queue is changed for all submissions: The problem may come from this PR #1091 The way the queue is taken basically just reads the queue of the competition, and not the queue in which the submission was done? |
I agree with this. This is what I mentioned in the Note in the PR: 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.
We are not changing the queue of submission. The problem is that queue is not linked to a submission but to a competition. We can get the queue from competition only.
No this PR is just displaying thename of the queue of the competition which has this submission.
Yes you are right. I think there is no way to track the queue of submission. I maybe wrong but I did not find it anywhere |
@ihsaan-ullah That's interesting. I am not really concerned about the potential leakage of information when you switch the queue; if the competition is using your queue, then you are most probably one of the competition organizers. Also, this interface does leak very sensitive information such as IP address of the workers. The main problem is more that the table is a bit confusing. When trying to debug submissions, if you are not aware of this behavior, it can be misleading. |
We should discuss this in the meeting to plan something for it |
@ 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:
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:
status page link in the menu:
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 isihsan01
Button in queue page to go to
server status page
Issues this PR resolves
Checklist