Repository navigation
Closed
Labels
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end features
Description
Previous title: "add permission checks (instead of KC role checks) to Other than Filing Components"
Three types of checks are possible:
- by filing (ticket Legal API: add permission checks (instead of KC role checks) to filings - Step 1 #27211)
- by filing content/JSON (ticket Legal API - prevent unauthorized actions (missing permission) #29528)
- by non-filing endpoint (THIS ticket)
This ticket was created because more information is needed on where, in the API, we can block the rest of permissions, below. (Some of these checks will be moved to #29528.)
- FIRM_NO_MIN_START_DATE
- [ ] "ADD_ENTITY_NO_AUTHENTICATION" - no filing impact - "AML_OVERRIDES"
- [ ] "BLANK_CERTIFY_STATE" - no filing impact
- [ ] "BLANK_COMPLETING_PARTY" - no filing impact - "COURT_ORDER_POA"
- "DIGITAL_CREDENTIALS" - no filing impact, but DBC permission in Legal API could be implemented
- "EDITABLE_CERTIFY_NAME"
- "EDITABLE_COMPLETING_PARTY"
- [ ] "MANAGE_BUSINESS” - no filing impact
- [ ] "MANAGE_NR" - no filing impact
- [ ] "MANAGE_OTHER_ORGANIZATION" - no filing impact
- [ ] "MANAGE_SOCIETY" - no filing impact
- [ ] "NO_COMPLETING_PARTY_MESSAGE_BOX" - no filing impact
- [ ] "NO_CONTACT_INFO" - no filing impact - "OVERRIDE_NIGS"
- [ ] "RESUME_DRAFT" - no filing impact - "SAVE_DRAFT" - does Legal API already check whether user can save this draft's filing type? or is that only for submitting the filing?
- [ ] "SBC_BREADCRUMBS" - no filing impact
- [ ] "STAFF_BREADCRUMBS" - no filing impact
- [ ] "THIRD_PARTY_CERTIFY_STMT" - no filing impact - "STAFF_COMMENTS" - this is not a filing but the endpoint should be protected
- "DETAIL_COMMENTS" - this is not a filing but the endpoint should be protected
- "DOCUMENT_RECORDS" - what can we do about this in the API?
- [ ] "SEARCH_BUSINESS_NR" - no filing impact - "FILE_AND_PAY" - already checked by Legal API when checking filing types?
- "STAFF_PAYMENT”
- [ ] "STAFF_DASHBOARD" - no filing impact
Metadata
Metadata
Assignees
Labels
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end features
Activity
Rajandeep98 commentedon Aug 6, 2025
"ADD_ENTITY_NO_AUTHENTICATION" : Authorized to affiliate business or NR without authentication. - may be user/auto affiliations
"AML_OVERRIDES" : what does this includes
"BLANK_CERTIFY_STATE" <> in what cases??
"BLANK_COMPLETING_PARTY" <>
"COURT_ORDER_POA" <> /courtorder filing should be able to add , correct?
"DIGITAL_CREDENTIALS" DigitalCredentialsRulesService:
"""Digital Credentials Rules service."""
Where are they used?
"EDITABLE_CERTIFY_NAME"
"EDITABLE_COMPLETING_PARTY" : user_is_completing_party ??
"FIRM_ADD_BUSINESS”: <> ??
"FIRM_EDITABLE_DBA" <> ??
"FIRM_EDITABLE_EMAIL_ADDRESS" <> ??
"FIRM_NO_HELP_SECTION" ??
"FIRM_NO_MIN_START_DATE" ?? Currently: def validate_start_date(filing: Dict) -> list:
"""Validate start date."""
msg.append({'error': 'Start date must be less than or equal to 10 years.',
'path': start_date_path})
if start_date > greater:
msg.append({'error': 'Start Date must be less than or equal to 90 days in the future.',
'path': start_date_path})
"FIRM_REPLACE_PERSON" ??
"MANAGE_BUSINESS”: same person and staff
"MANAGE_NR" : same person and staff
"MANAGE_OTHER_ORGANIZATION" ?? View can only staff
"MANAGE_SOCIETY" ?? Who is allowed right now?
"NO_COMPLETING_PARTY_MESSAGE_BOX" ???
"NO_CONTACT_INFO" ?? Of who?
"OVERRIDE_NIGS" <> ???
"RESUME_DRAFT" <> put
"SAVE_DRAFT" <> post draft
"SBC_BREADCRUMBS" <> purely UI I guess
"STAFF_BREADCRUMBS" <> purely UI I guess
"THIRD_PARTY_CERTIFY_STMT" <> ?? get certifyMessage certifyText
—— clear resources in lear
"STAFF_COMMENTS"
"DETAIL_COMMENTS" :'commentsLink': f'{base_url}/{business_identifier}/filings/{filing_storage.id}/comments',
"DOCUMENT_RECORDS" : 'documentsLink': f'{base_url}/{business_identifier}/filings/{filing_storage.id}/documents' if
"SEARCH_BUSINESS_NR" : https://namex-api-dev-475224072965.northamerica-northeast1.run.app/api/v1/requests/search?query=NR+9253294&start=0&rows=20
"FILE_AND_PAY" <> All , between state to check weather to go to pay….
<SbcFeeSummary
:filingData="filingData"
:payURL="getPayApiUrl"
@total-fee="totalFee=$event"
/>
Filing.get_fee_code
Auth Component
"STAFF_PAYMENT”: nothing in lear ( but filing with sending no fee code): check with postman
"STAFF_DASHBOARD" : ${config.authWebUrl}/staff/dashboard/active`
[-]Legal API: add permission checks (instead of KC role checks) to Other than Filing Components[/-][+]Legal API: add non-filing permission checks[/+][-]Legal API: add non-filing permission checks[/-][+]Legal API: add non-filing permission checks - Step 2[/+]Rajandeep98 commentedon Aug 29, 2025
Rajandeep98 commentedon Sep 4, 2025
enable-permissions-for-action <> flag
Rajandeep98 commentedon Sep 5, 2025
Rajandeep98 commentedon Sep 11, 2025
breaking down this pr to smaller prs for each type
Rajandeep98 commentedon Sep 12, 2025
added flag - 'enabled-deeper-permission-action'
riyazuddinsyed commentedon Sep 23, 2025
Verified in dev..Woorking as expected.