You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Namerequest UI: cannot Begin Continuation when not logged in #29751
This is probably because the user's permissions cannot be retrieved (because they're not logged in).
I can think of 2 options:
leave this as-is (but should tell them to log in)
allow this, which redirects them to log in and then redirects them back to Namerequest UI to start the continuation -- but then we should block Maximus users at that point (UX preferred)
I recommend option 2 because if we disable this button it doesn't indicate to the user what they should do next and also it sounds like there are some types of users that can file a continuation in - so if they login we can allow the users to continue in that have that permission and block those that don't.
The workflow should be
the user clicks on begin continuation
the user is prompted to login
after the user logs in we direct them to this page and the button is enabled for users who have the permissions and the button is disabled if the user does not have permission to file a continuation
We do not allow Maximus staff to create a Continuation In (or Amalgamation) draft.
We do allow Maximus to create an Incorporation Application (or Registration) draft... but not via a NR. They can either start a numbered draft, or they can go to the user's BRD and get into the user's draft (which they are not permitted to save or file).
after the user logs in we direct them to this page and the button is enabled for users who have the permissions and the button is disabled if the user does not have permission to file a continuation
Once they're starting the process and have logged in, the redirect back to Namerequest UI does not show any pages. It automatically processes what you previously asked for and creates a draft Cont In or whatever.
We could show a dialog at this point, letting the user know they don't have permisions/authorization to perform the requested action.
I think it would be complicated to drop them back to the Namerequest initial page with the action and business type filled in as they previously left it, and the action button disabled.
@janisrogers@jacqueline-williams-549 I just found out / realized something: Maximus is prevented from paying for a NR (of any kind), so their flow will fail when they click Continue to Payment here:
This means they will never get to the review/edit NR page on their own (where they would see the Begin Continuation button, as we previously discussed)... unless they affiliated and opened a NR created by another user (which is quite possible; remember, they can affiliate without auth).
So we have a couple of scenarios for NRs for Maximus:
trying to create a NR (see error above)
trying to Begin Continuation (or whatever CTA for the subject NR)
We already decided what to do for scenario 2 (enable button, show updated error dialog).
Should we do something similar for scenario 1 -- update error dialog if user has no permissions? Alternately, we could disable the payment button if they don't have permission?
After chatting with Ody, the UI can detect that the current account does not have permissions to make a payment by checking for the absence of the "make_payment" role in the KC token. (This token should be absent for maximus_staff, contact_centre_staff and sbc_staff account types.)
I point this out because it's different from checking the permissions array provided by Business API.
Because it's different, it might be a good idea to check for either/both the make_payment role and the Business API permissions.
Designs have been reviewed by Janis and Severin to understand current state flow and technical constraints. If others need review please let me know otherwise, design is ready for development.
Activity
jacqueline-williams-549 commentedon Jul 24, 2025
I recommend option 2 because if we disable this button it doesn't indicate to the user what they should do next and also it sounds like there are some types of users that can file a continuation in - so if they login we can allow the users to continue in that have that permission and block those that don't.
The workflow should be
severinbeauvais commentedon Jul 24, 2025
^^ I agree.
severinbeauvais commentedon Jul 24, 2025
We do not allow Maximus staff to create a Continuation In (or Amalgamation) draft.
We do allow Maximus to create an Incorporation Application (or Registration) draft... but not via a NR. They can either start a numbered draft, or they can go to the user's BRD and get into the user's draft (which they are not permitted to save or file).
severinbeauvais commentedon Jul 30, 2025
Once they're starting the process and have logged in, the redirect back to Namerequest UI does not show any pages. It automatically processes what you previously asked for and creates a draft Cont In or whatever.
We could show a dialog at this point, letting the user know they don't have permisions/authorization to perform the requested action.
I think it would be complicated to drop them back to the Namerequest initial page with the action and business type filled in as they previously left it, and the action button disabled.
severinbeauvais commentedon Jul 30, 2025
This is not a P1 because Continuation Ins and Amalgamations are not yet released in Prod.
Currently, in Prod, the subject button (while not logged in) looks like this, which is correct:
14 remaining items
jacqueline-williams-549 commentedon Dec 11, 2025
Once the maximus user logs in, we should show the "access restricted modal"- I have designs that I am working on finalizing with design team
severinbeauvais commentedon Jan 8, 2026
To do:
severinbeauvais commentedon Jan 9, 2026
@janisrogers @jacqueline-williams-549 I just found out / realized something: Maximus is prevented from paying for a NR (of any kind), so their flow will fail when they click Continue to Payment here:
This means they will never get to the review/edit NR page on their own (where they would see the Begin Continuation button, as we previously discussed)... unless they affiliated and opened a NR created by another user (which is quite possible; remember, they can affiliate without auth).
So we have a couple of scenarios for NRs for Maximus:
We already decided what to do for scenario 2 (enable button, show updated error dialog).
Should we do something similar for scenario 1 -- update error dialog if user has no permissions? Alternately, we could disable the payment button if they don't have permission?
severinbeauvais commentedon Jan 9, 2026
More info
After chatting with Ody, the UI can detect that the current account does not have permissions to make a payment by checking for the absence of the "make_payment" role in the KC token. (This token should be absent for maximus_staff, contact_centre_staff and sbc_staff account types.)
I point this out because it's different from checking the permissions array provided by Business API.
Because it's different, it might be a good idea to check for either/both the make_payment role and the Business API permissions.
jacqueline-williams-549 commentedon Jan 15, 2026
Designs have been reviewed by Janis and Severin to understand current state flow and technical constraints. If others need review please let me know otherwise, design is ready for development.
severinbeauvais commentedon Mar 4, 2026
To Do list from Jan 8 needs to be updated per more recent comments.
mstanton1 commentedon Mar 4, 2026
@vikas-gov I have discussed with @davemck513 and names will pick this up. He will groom with his team to identify any support needed and timeline.
cc @severinbeauvais
mstanton1 commentedon Oct 5, 2026
This was previously handled with the numbered incorporation flow.
Work completed in that flow is outlined here for reference: https://app.zenhub.com/workspaces/entities-team-65af15f59e89f5043c2911f7/issues/gh/bcgov/entity/34765
This leverages the simplified account flow to better help a user.