Skip to content

Commit c3330a4

Browse files
author
Cari Spruiell
committed
MAGETWO-56796: Any admin user can upload Favicon Icon
- made ACL resource more restrictive
1 parent 6086595 commit c3330a4

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Theme/Controller/Adminhtml/Design/Config/FileUploader

1 file changed

+5
-0
lines changed

app/code/Magento/Theme/Controller/Adminhtml/Design/Config/FileUploader/Save.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ class Save extends Action
2222
*/
2323
protected $fileProcessor;
2424

25+
/**
26+
* Authorization level
27+
*/
28+
const ADMIN_RESOURCE = 'Magento_Theme::theme';
29+
2530
/**
2631
* @param Context $context
2732
* @param FileProcessor $fileProcessor

0 commit comments

Comments
 (0)