ChildMindInstitute / mindlogger-admin-OLD-Vue

Browser-based interface for administering the MindLogger platform
https://admin-prod.mindlogger.org
Other
4 stars 4 forks source link

The infinity loader after an attempt to open email "edit" link with the wrong account #1354

Open natalia-muzyka opened 2 years ago

natalia-muzyka commented 2 years ago

Preconditions User received an email with Edit link: bernard_ml@protonmail.com // qwe123!!! Link: https://admin-staging.mindlogger.org/#/build?lang=en_US&appletId=61a76d53a5162c317813b9fa&accountId=6166a62986fb6903962dc5c4

Steps to reproduce

  1. Open the Edit link
  2. Log in to any other account that doesn't have edit access to the applet
  3. Pay attention to the screen

Actual result The infinity loader after an attempt to open email "edit" link with the wrong account

Expected result @WorldImpex Suggestion: There should be a warning pop-up that informs user about not enough rights/missing access to edit the applet. After Closing this pop up user should be redirected to the dashboard.

Video: https://www.screencast.com/t/hIWVj4z5WCpp

Environment: https://admin-staging.mindlogger.org/ Win 10 // Chrome 96.0.4664.45 bernard_ml@protonmail.com // qwe123!!! Link: https://admin-staging.mindlogger.org/#/build?lang=en_US&appletId=61a76d53a5162c317813b9fa&accountId=6166a62986fb6903962dc5c4

WorldImpex commented 2 years ago

Update message to read: You do not have the right level of access to perform this task. Please contact the system administrator."

natalia-muzyka commented 2 years ago

UPD 28/12 Verified as fixed (except the message). The message was confirmed to update later (when the loader was fixed already). Video: https://www.screencast.com/t/rajNK9BQiu

Environment: https://admin-staging.mindlogger.org/ Win 10 // Chrome 96.0.4664.45 bernard_ml@protonmail.com // qwe123!!!

WorldImpex commented 2 years ago

Message not updated