Skip to content

Commit

Permalink
#29715: Corrected ACL resource names
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaschenko committed Sep 3, 2020
1 parent 68bc010 commit 0ad0630
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -66,7 +66,7 @@ public function getActionsJson(): string
]
];

if ($this->authorization->isAllowed('MediaGalleryUiApi::edit_assets')) {
if ($this->authorization->isAllowed('Magento_MediaGalleryUiApi::edit_assets')) {
$actions[] = [
'title' => __('Edit Details'),
'handler' => 'editImageAction',
Expand All @@ -75,7 +75,7 @@ public function getActionsJson(): string
];
}

if ($this->authorization->isAllowed('MediaGalleryUiApi::delete_assets')) {
if ($this->authorization->isAllowed('Magento_MediaGalleryUiApi::delete_assets')) {
$actions[] = [
'title' => __('Delete Image'),
'handler' => 'deleteImageAction',
Expand All @@ -84,7 +84,7 @@ public function getActionsJson(): string
];
}

if ($this->authorization->isAllowed('MediaGalleryUiApi::insert_assets')) {
if ($this->authorization->isAllowed('Magento_MediaGalleryUiApi::insert_assets')) {
$actions[] = [
'title' => __('Add Image'),
'handler' => 'addImage',
Expand Down

0 comments on commit 0ad0630

Please sign in to comment.