diff --git a/composer.json b/composer.json index 4101ac7d01..54bdc52189 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/composer.lock b/composer.lock index 5841f1c5d3..85d4ec40d8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d8dea047ad68719a555aa8e5b6d4f444", + "content-hash": "5f69a2d8d04838f751d68e5af9e9f2f9", "packages": [ { "name": "async-aws/core", @@ -246,16 +246,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.286.1", + "version": "3.286.2", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "f3276ecb6e5202452d4b64237e6dc1bc9d350ae6" + "reference": "33a763586e840e5162ff8144a9532aa43172e11c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/f3276ecb6e5202452d4b64237e6dc1bc9d350ae6", - "reference": "f3276ecb6e5202452d4b64237e6dc1bc9d350ae6", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/33a763586e840e5162ff8144a9532aa43172e11c", + "reference": "33a763586e840e5162ff8144a9532aa43172e11c", "shasum": "" }, "require": { @@ -335,9 +335,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.286.1" + "source": "https://github.com/aws/aws-sdk-php/tree/3.286.2" }, - "time": "2023-11-14T19:09:59+00:00" + "time": "2023-11-15T19:19:39+00:00" }, { "name": "behat/gherkin", @@ -21649,16 +21649,16 @@ }, { "name": "spryker/click-and-collect-example", - "version": "0.8.2", + "version": "0.9.0", "source": { "type": "git", "url": "https://github.com/spryker/click-and-collect-example.git", - "reference": "d6590b7324807464d29269d908f4ef6f780acdbd" + "reference": "713144e04fbf2576c2cca89bb75836909102dac4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spryker/click-and-collect-example/zipball/d6590b7324807464d29269d908f4ef6f780acdbd", - "reference": "d6590b7324807464d29269d908f4ef6f780acdbd", + "url": "https://api.github.com/repos/spryker/click-and-collect-example/zipball/713144e04fbf2576c2cca89bb75836909102dac4", + "reference": "713144e04fbf2576c2cca89bb75836909102dac4", "shasum": "" }, "require": { @@ -21666,7 +21666,9 @@ "spryker/availability": "^9.20.0", "spryker/checkout-rest-api-extension": "^1.5.0", "spryker/currency": "^3.0.0 || ^4.0.0", + "spryker/glue-application-extension": "^1.10.0", "spryker/kernel": "^3.30.0", + "spryker/merchant-user": "^1.0.0", "spryker/price-product-offer": "^1.0.0", "spryker/product-offer": "^1.0.0", "spryker/product-offer-service-point": "^1.0.0", @@ -21682,16 +21684,19 @@ "spryker/shipment-type-service-point": "^1.0.0", "spryker/shipment-type-storage-extension": "^1.0.0", "spryker/store": "^1.19.0", + "spryker/symfony": "^3.7.0", "spryker/transfer": "^3.27.0" }, "require-dev": { "spryker/code-sniffer": "*", "spryker/decimal-object": "*", + "spryker/merchant": "*", "spryker/price-product": "*", "spryker/product": "*", "spryker/propel": "*", "spryker/stock": "*", - "spryker/testify": "*" + "spryker/testify": "*", + "spryker/user": "*" }, "type": "library", "extra": { @@ -21710,9 +21715,9 @@ ], "description": "ClickAndCollectExample module", "support": { - "source": "https://github.com/spryker/click-and-collect-example/tree/0.8.2" + "source": "https://github.com/spryker/click-and-collect-example/tree/0.9.0" }, - "time": "2023-11-13T14:37:10+00:00" + "time": "2023-11-16T10:48:30+00:00" }, { "name": "spryker/cms", @@ -69505,16 +69510,16 @@ }, { "name": "symfony/cache-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/cache-contracts.git", - "reference": "ad945640ccc0ae6e208bcea7d7de4b39b569896b" + "reference": "1d74b127da04ffa87aa940abe15446fa89653778" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/ad945640ccc0ae6e208bcea7d7de4b39b569896b", - "reference": "ad945640ccc0ae6e208bcea7d7de4b39b569896b", + "url": "https://api.github.com/repos/symfony/cache-contracts/zipball/1d74b127da04ffa87aa940abe15446fa89653778", + "reference": "1d74b127da04ffa87aa940abe15446fa89653778", "shasum": "" }, "require": { @@ -69561,7 +69566,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/cache-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/cache-contracts/tree/v3.4.0" }, "funding": [ { @@ -69577,7 +69582,7 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2023-09-25T12:52:38+00:00" }, { "name": "symfony/clock", @@ -70034,7 +70039,7 @@ }, { "name": "symfony/deprecation-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", @@ -70081,7 +70086,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" }, "funding": [ { @@ -70329,7 +70334,7 @@ }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", @@ -70385,7 +70390,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" }, "funding": [ { @@ -70930,16 +70935,16 @@ }, { "name": "symfony/http-client-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/http-client-contracts.git", - "reference": "3b66325d0176b4ec826bffab57c9037d759c31fb" + "reference": "1ee70e699b41909c209a0c930f11034b93578654" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/3b66325d0176b4ec826bffab57c9037d759c31fb", - "reference": "3b66325d0176b4ec826bffab57c9037d759c31fb", + "url": "https://api.github.com/repos/symfony/http-client-contracts/zipball/1ee70e699b41909c209a0c930f11034b93578654", + "reference": "1ee70e699b41909c209a0c930f11034b93578654", "shasum": "" }, "require": { @@ -70988,7 +70993,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/http-client-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/http-client-contracts/tree/v3.4.0" }, "funding": [ { @@ -71004,7 +71009,7 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2023-07-30T20:28:31+00:00" }, { "name": "symfony/http-foundation", @@ -73695,16 +73700,16 @@ }, { "name": "symfony/translation-contracts", - "version": "v3.3.0", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "02c24deb352fb0d79db5486c0c79905a85e37e86" + "reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/02c24deb352fb0d79db5486c0c79905a85e37e86", - "reference": "02c24deb352fb0d79db5486c0c79905a85e37e86", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/dee0c6e5b4c07ce851b462530088e64b255ac9c5", + "reference": "dee0c6e5b4c07ce851b462530088e64b255ac9c5", "shasum": "" }, "require": { @@ -73753,7 +73758,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.3.0" + "source": "https://github.com/symfony/translation-contracts/tree/v3.4.0" }, "funding": [ { @@ -73769,7 +73774,7 @@ "type": "tidelift" } ], - "time": "2023-05-30T17:17:10+00:00" + "time": "2023-07-25T15:08:44+00:00" }, { "name": "symfony/twig-bridge", @@ -78112,12 +78117,12 @@ "source": { "type": "git", "url": "https://github.com/spryker/robotframework-suite-tests.git", - "reference": "c7756dee9093090c09f47e7677165932903bfe3f" + "reference": "ce5b2dcdf54309293c6c9dbdd107ac7a0439aa86" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spryker/robotframework-suite-tests/zipball/c7756dee9093090c09f47e7677165932903bfe3f", - "reference": "c7756dee9093090c09f47e7677165932903bfe3f", + "url": "https://api.github.com/repos/spryker/robotframework-suite-tests/zipball/ce5b2dcdf54309293c6c9dbdd107ac7a0439aa86", + "reference": "ce5b2dcdf54309293c6c9dbdd107ac7a0439aa86", "shasum": "" }, "default-branch": true, @@ -78131,7 +78136,7 @@ "issues": "https://github.com/spryker/robotframework-suite-tests/issues", "source": "https://github.com/spryker/robotframework-suite-tests/tree/master" }, - "time": "2023-11-10T09:25:40+00:00" + "time": "2023-11-15T18:01:33+00:00" }, { "name": "spryker/silex", diff --git a/src/Pyz/Glue/GlueBackendApiApplication/GlueBackendApiApplicationDependencyProvider.php b/src/Pyz/Glue/GlueBackendApiApplication/GlueBackendApiApplicationDependencyProvider.php index 2814e091ac..abb12768aa 100644 --- a/src/Pyz/Glue/GlueBackendApiApplication/GlueBackendApiApplicationDependencyProvider.php +++ b/src/Pyz/Glue/GlueBackendApiApplication/GlueBackendApiApplicationDependencyProvider.php @@ -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 @@ -93,6 +94,7 @@ protected function getRequestAfterRoutingValidatorPlugins(): array new RequestCorsValidatorPlugin(), new ScopeRequestAfterRoutingValidatorPlugin(), new AuthorizationRequestAfterRoutingValidatorPlugin(), + new MerchantUserAccessRestrictionRequestAfterRoutingValidatorPlugin(), ]; }