code4romania / onghub

Mozilla Public License 2.0
7 stars 5 forks source link

White Screen Displayed When Accessing App Without Permission #509

Closed andrei-manda closed 4 months ago

andrei-manda commented 4 months ago

Preconditions: User must be logged in on two different browsers: one as Employee and the other as Super-Admin. The Employee must have access to an application (simple login or with configuration)

Steps of Reproduction:

  1. [Employee] Navigate to the "Aplicatiile mele" page and stay on that page
  2. [Super-Admin] Remove the NGO permission to the app
  3. [Employee] Click on "Mai mult" button

Expected Result:

  1. The following error is displayed: "Pagina nu a putut fi accesata" and the page does refresh.

Actual Result:

https://github.com/code4romania/onghub/assets/49789938/bdb61590-7b8e-48df-b231-2fcccff98b85