Skip to content

Commit

Permalink
Merge pull request #427 from spryker-shop/feature/acp-3661/dev-apply-…
Browse files Browse the repository at this point in the history
…acl-rules-for-existing-merchant-users

ACP-3661: Integrated the ACL entity synchronization command.
  • Loading branch information
abitskil authored Oct 1, 2024
2 parents 9b09c88 + a5de7c2 commit 8ae9729
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 26 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"ext-redis": "*",
"galbar/jsonpath": "^1.3.1",
"spryker-eco/loggly": "^0.1.1",
"spryker-feature/acl": "^202404.0",
"spryker-feature/acl": "dev-master as 202407.0",
"spryker-feature/agent-assist": "dev-master as 202407.0",
"spryker-feature/alternative-products": "^202404.0",
"spryker-feature/availability-notification": "^202404.0",
Expand Down Expand Up @@ -58,7 +58,7 @@
"spryker-feature/marketplace-return-management": "^202404.0",
"spryker-feature/marketplace-shipment": "^202404.0",
"spryker-feature/marketplace-wishlist": "^202404.0",
"spryker-feature/merchant": "^202404.0",
"spryker-feature/merchant": "dev-master as 202407.0",
"spryker-feature/merchant-category": "^202404.0",
"spryker-feature/merchant-opening-hours": "^202404.0",
"spryker-feature/navigation": "^202404.0",
Expand Down
65 changes: 41 additions & 24 deletions composer.lock

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

4 changes: 4 additions & 0 deletions config/install/EU/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ sections:
scheduler-setup:
command: "vendor/bin/console scheduler:setup -vvv --no-ansi"
stores: true
acl:
acl-entity-synchronize:
command: 'vendor/bin/console acl-entity:synchronize -vvv --no-ansi'
stores: true
4 changes: 4 additions & 0 deletions config/install/US/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ sections:
scheduler-setup:
command: "vendor/bin/console scheduler:setup -vvv --no-ansi"
stores: true
acl:
acl-entity-synchronize:
command: 'vendor/bin/console acl-entity:synchronize -vvv --no-ansi'
stores: true
4 changes: 4 additions & 0 deletions config/install/production.dynamic-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ sections:
command: 'vendor/bin/console queue:setup'
scheduler-setup:
command: 'vendor/bin/console scheduler:setup -vvv --no-ansi'
acl:
acl-entity-synchronize:
command: 'vendor/bin/console acl-entity:synchronize -vvv --no-ansi'
stores: true
2 changes: 2 additions & 0 deletions src/Pyz/Zed/Console/ConsoleDependencyProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
use SecurityChecker\Command\SecurityCheckerCommand;
use Spryker\Zed\AclDataImport\AclDataImportConfig;
use Spryker\Zed\AclEntityDataImport\AclEntityDataImportConfig;
use Spryker\Zed\AclMerchantPortal\Communication\Console\AclEntitySynchronizeConsole;
use Spryker\Zed\Cache\Communication\Console\EmptyAllCachesConsole;
use Spryker\Zed\CategoryDataImport\CategoryDataImportConfig;
use Spryker\Zed\Console\ConsoleDependencyProvider as SprykerConsoleDependencyProvider;
Expand Down Expand Up @@ -403,6 +404,7 @@ protected function getConsoleCommands(Container $container): array
new DeleteExpiredPushNotificationSubscriptionConsole(),
new SendPushNotificationConsole(),
new OrderMatrixConsole(),
new AclEntitySynchronizeConsole(),
];

$propelCommands = $container->getLocator()->propel()->facade()->getConsoleCommands();
Expand Down

0 comments on commit 8ae9729

Please sign in to comment.