Closed
Labels
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't working
Description
The "POST /businesses?draft=true" endpoint (eg, to create a draft continuation in filing) should check whether the current user has permission to create the subject filing (cont in).
To reproduce:
- login using Maximus account
- navigate to Namerequest UI
- open Dev Tools and go to Application tab
- open the session storage item for the current URL (names)
- add Key=LEGAL_TYPE and Value=BC
- add Key=REQUEST_ACTION_CD and Value=MVE
- reload the page
The above steps trick Namerequest UI into creating a draft continuation in filing for the current user. If the current user is a Maximus account, the POST should fail. Currently, it succeeds.
Metadata
Metadata
Assignees
Labels
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresPriority2bugSomething isn't working
Activity
Rajandeep98 commentedon Jan 16, 2026
This Fix is checking the POST call to filings where respective roles can make the calls based on their assigned permissions.
severinbeauvais commentedon Jan 16, 2026
Does the fix resolve the issue reported in this ticket? Looking at PR 3997, I don't see any change to prevent a Maximus user (or any account without permission) from creating a Continuation In draft.
CC: @loneil @vysakh-menon-aot
Rajandeep98 commentedon Jan 16, 2026
User Can not Submit the Filing when do not have permission under authorized actions.
Rajandeep98 commentedon Jan 16, 2026
severinbeauvais commentedon Jan 16, 2026
After chatting with Rajan, I realized that the code to prevent un-permitted users from creating a Continuation In draft was already in place but was disabled by a FF.
I have tested again, with the FF on this time, and I was blocked as expected:
Rajandeep98 commentedon Jan 16, 2026
Test -
Try Adding Staff Filings from API User
try Adding Filing not allowed for certain role.
gunanagar commentedon Jan 20, 2026
t
gunanagar commentedon Jan 20, 2026
t
riyazuddinsyed commentedon Jan 21, 2026
This is not deployed to test, yet we need to perform the test in the dev environment.
gunanagar commentedon Jan 28, 2026
Tested Filling
Staff - API User - COD
Staff - API User - AR -Filling
gunanagar commentedon Jan 29, 2026
Create Business with with BCSC with Staff permission through API, got proper below error - PASS
gunanagar commentedon Jan 29, 2026
Correction filling not allowed in API user
gunanagar commentedon Jan 29, 2026
Checked in Maximus and its permission.
Tested, looks good