Skip to content

Commit

Permalink
Merge branch 'next-13896/add-acl' into '6.3.5.2'
Browse files Browse the repository at this point in the history
NEXT-13830 - Add acl privileges for plugin controller

See merge request shopware/6/product/platform!4544
  • Loading branch information
shyim committed Feb 24, 2021
2 parents 9b4c81f + 5056c5f commit d08f54a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
@@ -0,0 +1,6 @@
---
title: Adding acl privileges to plugin manager
issue: NEXT-13896
---
# Core
* Added acl privileges to `PluginController`
2 changes: 2 additions & 0 deletions src/Core/Framework/Plugin/Api/PluginController.php
Expand Up @@ -12,6 +12,7 @@
use Shopware\Core\Framework\Plugin\PluginLifecycleService;
use Shopware\Core\Framework\Plugin\PluginManagementService;
use Shopware\Core\Framework\Plugin\PluginService;
use Shopware\Core\Framework\Routing\Annotation\Acl;
use Shopware\Core\Framework\Routing\Annotation\RouteScope;
use Shopware\Core\Framework\Routing\Annotation\Since;
use Shopware\Core\Framework\Validation\DataBag\QueryDataBag;
Expand All @@ -24,6 +25,7 @@

/**
* @RouteScope(scopes={"api"})
* @Acl({"system.plugin_maintain"})
*/
class PluginController extends AbstractController
{
Expand Down

0 comments on commit d08f54a

Please sign in to comment.