Skip to content

FINERACT-2298: Move standing instruction history read security to Sec…#5918

Merged
adamsaghy merged 1 commit into
apache:developfrom
aditinikam:FINERACT-2298
Jun 3, 2026
Merged

FINERACT-2298: Move standing instruction history read security to Sec…#5918
adamsaghy merged 1 commit into
apache:developfrom
aditinikam:FINERACT-2298

Conversation

@aditinikam

Copy link
Copy Markdown

Description

JIRA: https://issues.apache.org/jira/browse/FINERACT-2298

Aligns the Standing Instruction History read endpoint with the new
command-processing conventions:

  • Moves authorization for ⁠ GET /standinginstructionrunhistory ⁠ out of the
    resource's programmatic ⁠ validateHasReadPermission ⁠ check and into
    ⁠ SecurityConfig ⁠ (⁠ READ_STANDINGINSTRUCTION ⁠); the resulting authority set
    is identical, so existing roles are unaffected.
  • Renames ⁠ StandingInstructionHistoryReadPlatformService ⁠ /
    ⁠ ...Impl ⁠ to ⁠ StandingInstructionHistoryReadService ⁠ / ⁠ ...Impl ⁠ to match the
    ⁠ *ReadService ⁠ naming used elsewhere, and updates the bean wiring in
    ⁠ AccountConfiguration ⁠ and the API resource accordingly.
  • Drops the now-unused ⁠ PlatformSecurityContext ⁠ dependency from the resource
    and hoists ⁠ @produces(APPLICATION_JSON) ⁠ to the class level.

No behavior change to the endpoint response or query logic.

@adamsaghy adamsaghy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@adamsaghy adamsaghy merged commit 0a6af5c into apache:develop Jun 3, 2026
89 checks passed
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.

2 participants