Skip to content

Commit

Permalink
Merge pull request #1440 from spryker-shop/bugfix/cc-31859-restrict-m…
Browse files Browse the repository at this point in the history
…erchant-users

Auto-merge based on green CI result.
  • Loading branch information
spryker-release-bot authored Nov 16, 2023
2 parents fa8e38f + 2c0bb23 commit cbfe73d
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 41 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"spryker/checkout-extension": "^1.3.0",
"spryker/checkout-rest-api": "^3.7.1",
"spryker/checkout-rest-api-extension": "^1.0.0",
"spryker/click-and-collect-example": "^0.8.0",
"spryker/click-and-collect-example": "^0.9.0",
"spryker/cms": "^7.0.0",
"spryker/cms-block": "^3.3.0",
"spryker/cms-block-category-connector": "^2.5.0",
Expand Down
85 changes: 45 additions & 40 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
use Spryker\Glue\WarehouseOauthBackendApi\Plugin\GlueBackendApiApplication\WarehouseRequestValidatorPlugin;
use Spryker\Glue\WarehouseOauthBackendApi\Plugin\GlueBackendApiApplication\WarehouseTokensBackendResourcePlugin;
use Spryker\Glue\WarehouseUsersBackendApi\Plugin\GlueBackendApiApplication\WarehouseUserAssignmentsBackendResourcePlugin;
use Spryker\Zed\ClickAndCollectExample\Communication\Plugin\GlueBackendApiApplication\MerchantUserAccessRestrictionRequestAfterRoutingValidatorPlugin;
use Spryker\Zed\Propel\Communication\Plugin\Application\PropelApplicationPlugin;

class GlueBackendApiApplicationDependencyProvider extends SprykerGlueBackendApiApplicationDependencyProvider
Expand Down Expand Up @@ -93,6 +94,7 @@ protected function getRequestAfterRoutingValidatorPlugins(): array
new RequestCorsValidatorPlugin(),
new ScopeRequestAfterRoutingValidatorPlugin(),
new AuthorizationRequestAfterRoutingValidatorPlugin(),
new MerchantUserAccessRestrictionRequestAfterRoutingValidatorPlugin(),
];
}

Expand Down

0 comments on commit cbfe73d

Please sign in to comment.