bcgov / business-create-ui

BC Registry Services - Legal Entities - Create Incorporation Application
Apache License 2.0
7 stars 47 forks source link

19698 Added Account-Id to auth api call + check for null auth info + small cleanup #650

Closed severinbeauvais closed 7 months ago

severinbeauvais commented 7 months ago

Issue #: bcgov/entity#19698

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

severinbeauvais commented 7 months ago

/gcbrun

bcregistry-sre commented 7 months ago

Temporary Url for review: https://business-create-dev--pr-650-dtecq19o.web.app

SB says, try this one (as BCREG0020/Severin Dev Account): https://business-create-dev--pr-650-dtecq19o.web.app/amalg-reg-information?id=TaUQpULq2Z&accountid=3040

severinbeauvais commented 7 months ago

Test results

As BCREG0020/Severin Dev Account:

image

Note the 3 businesses that display as "affiliate to view". Those businesses are either affiliated to a different account under BCREG0020 or to a different login altogether.

As a staff user:

image

Note that all businesses display as affiliated (even though they aren't) because this is a staff (IDIR) login.