-
Notifications
You must be signed in to change notification settings - Fork 146
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
TRE UI does not update when an action on a VM completes #3353
Comments
I believe I've worked out what's going on here. This does not reproduce if you are a TREAdmin. Users who see this do not have admin access.
By looking at the browser dev tools, and inspecting the bearer token for a user seeing this issue, I can see that the token being presented for these updates is the first token (the general access token) and so the user is presenting as a "roles": [
"TREUser"
], The UI makes calls to the API to get updates for the workspace. The URL it calls is...
This API route is only callable by users in the following roles...
and so, the API call returns an HTTP 403 and this is why the UI doesn't update. |
* TRE UI does not update when an action on a VM completes Fixes #3353 * update ui version * Refactor workspace operation retrieval * update based on review
For example, trying to stop a machine. The UI did not appear to register the request.
then this only after refresh ....
The same happened when I tried to deploy a new machine. The little blue spinner just told me the process was pending, until I refreshed the browser page.
The text was updated successfully, but these errors were encountered: