bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Clicking on Restore Now is redirecting to the business dashboard #17401

Open riyazuddinsyed opened 1 year ago

riyazuddinsyed commented 1 year ago

Describe the bug in the current situation When the user requests for a Restore NR and after the successful approval the 'Restore Now' button is redirecting to the business dashboard.

Steps to reproduce the behavior:

  1. Go to 'https://bcregistry-account-dev--pr-2433-timdhwu5.web.app/account/2079/business' or https://bcregistry-account-dev--pr-2440-lbw1n49s.web.app/account/2079/business'
  2. Search for "HUNDRED CORP."-NR
  3. Click on the "Restore Now" button
  4. Notice that the redirection is taking to the company's business dashboard.
severinbeauvais commented 1 year ago

When tested as a regular (non-staff) user, the Restore Now button displays. When clicked, the business dashboard opens. However, a regular user cannot perform a restoration filing, so the user is stuck... but we haven't designed past this yet.

So this is working as expected for now.