You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If we try opening the admin page of a queue created by another signed-in user, the page opens, although backend info doesn't come through. We shouldn't even show the admin page in cases like this.
To Reproduce
Steps to reproduce the behavior:
Open the admin link of a queue created by a different signed-in user. The page opens up with options even though the member list doesn't load.
Expected behavior
It should clearly say "unauthorized access, please login to continue" or "you're not the owner of this queue".
The text was updated successfully, but these errors were encountered:
One option is to have a "Unauthorised" page like PageNotFound in your routes at path="/unauthorised".
Then whenever we make a network call, if backend returns (401, Unauthorised), we should take the user to the Unauthorised page here.
The only caveat is that the moment some request says unauthorised, the user will be taken to the new page. But I in our current state, this is what we need,
Describe the bug
If we try opening the admin page of a queue created by another signed-in user, the page opens, although backend info doesn't come through. We shouldn't even show the admin page in cases like this.
To Reproduce
Steps to reproduce the behavior:
Open the admin link of a queue created by a different signed-in user. The page opens up with options even though the member list doesn't load.
Expected behavior
It should clearly say "unauthorized access, please login to continue" or "you're not the owner of this queue".
The text was updated successfully, but these errors were encountered: