Skip to content

Legal API: missing authz check on temp reg numbers #30604

Open
0 of 1 issue completed
Open

Description

@severinbeauvais
  1. login to Dev as staff (account 3040)
  2. create a draft IA
  3. save it -- this succeeds
  4. record the URL for later
  5. login to Dev as BCREG0020 (account 668)
  6. go to the URL for the draft IA above
  7. observe that the draft IA opens -- this is incorrect
  8. save it -- this correctly fails with HTTP 401

So the issue is step 7: because this draft IA is not affiliated with account 668, account 668 should not be able to fetch the filings, but this actually works.

image.png

image.png

Sub-issues

Sub-issues

0 of 1 Issues completed
Loading 1 sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities TeamPriority3bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions