Skip to content

30948 legal-api: verify account access, other auth cleanup - #5006

Merged
kialj876 merged 2 commits into
bcgov:mainfrom
kialj876:30948-auth-tightening-and-cleanup
Dec 1, 2026
Merged

kialj876 merged 2 commits into
bcgov:mainfrom
kialj876:30948-auth-tightening-and-cleanup

Conversation

@kialj876

Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#30948

Description of changes:

  • verify the account being used is authorized for the action (previously just verified the user)
  • pass the account id to pay for regular users
  • various minor fixes and auth cleanup

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

Signed-off-by: Kial Jinnah <kialj876@gmail.com>

@benjamin-bc-gov benjamin-bc-gov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the Account-Id scoping against auth-api and pay-api all good. Just needs the version bump in pyproject.

@meawong meawong left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Kial Jinnah <kialj876@gmail.com>
@kialj876
kialj876 merged commit 07fc480 into bcgov:main Dec 1, 2026
5 checks passed
@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants