Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@sujithvn
Copy link
Contributor

Signed-off-by: Sujith [email protected]

Resolves #6634
Impact: minor
Type: bugfix

Issue

As reported in issue #6634, Surcharges query endpoints were missing permission validation

Solution

Added validatePermissions call for both the queries [surcharges & surchargeById]

Breaking changes

If any user expected to have this permissions is not added to the required groups which has permission, will no longer be able to get results from these 2 queries unless added to the required groups.

Testing

Test caes added

@changeset-bot
Copy link

changeset-bot bot commented Dec 16, 2022

🦋 Changeset detected

Latest commit: da3d8e9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@reactioncommerce/api-plugin-surcharges Patch
reaction Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@brent-hoover brent-hoover removed the request for review from aldeed January 3, 2023 19:55
@delagroove delagroove closed this Sep 22, 2025
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.

Surchages query missing permission validation

5 participants