Skip to content

Commit 28444f8

Browse files
authored
Merge pull request #673 from favicode/fix/admin-acl
Improve admin acl privileges
2 parents b4c8e66 + 6b3772f commit 28444f8

File tree

99 files changed

+212
-17
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+212
-17
lines changed

Controller/Adminhtml/FastlyCdn/Advanced/CheckTlsSetting.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
*/
3535
class CheckTlsSetting extends Action
3636
{
37+
const ADMIN_RESOURCE = 'Magento_Config::config';
38+
3739
/**
3840
* @var Api
3941
*/

Controller/Adminhtml/FastlyCdn/Advanced/ForceTls.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
*/
3636
class ForceTls extends Action
3737
{
38+
const ADMIN_RESOURCE = 'Magento_Config::config';
39+
3840
/**
3941
* @var Http
4042
*/

Controller/Adminhtml/FastlyCdn/Backend/ConfigureBackend.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
*/
3636
class ConfigureBackend extends Action
3737
{
38+
const ADMIN_RESOURCE = 'Magento_Config::config';
39+
3840
use ValidationTrait;
3941

4042
/**

Controller/Adminhtml/FastlyCdn/Backend/CreateBackend.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939
*/
4040
class CreateBackend extends Action
4141
{
42+
const ADMIN_RESOURCE = 'Magento_Config::config';
43+
4244
use ValidationTrait;
4345

4446
/**

Controller/Adminhtml/FastlyCdn/Backend/DeleteBackend.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
*/
3535
class DeleteBackend extends Action
3636
{
37+
const ADMIN_RESOURCE = 'Magento_Config::config';
38+
3739
/**
3840
* @var Http
3941
*/

Controller/Adminhtml/FastlyCdn/Backend/GetBackends.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
*/
3838
class GetBackends extends Action
3939
{
40+
const ADMIN_RESOURCE = 'Magento_Config::config';
41+
4042
/**
4143
* @var Http
4244
*/

Controller/Adminhtml/FastlyCdn/BasicAuthentication/CheckAuthDictionary.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
*/
3434
class CheckAuthDictionary extends Action
3535
{
36+
const ADMIN_RESOURCE = 'Magento_Config::config';
37+
3638
/**
3739
* @var Api
3840
*/

Controller/Adminhtml/FastlyCdn/BasicAuthentication/CheckAuthSetting.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
*/
3434
class CheckAuthSetting extends Action
3535
{
36+
const ADMIN_RESOURCE = 'Magento_Config::config';
37+
3638
/**
3739
* @var Api
3840
*/

Controller/Adminhtml/FastlyCdn/BasicAuthentication/CheckAuthUsersAvailable.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
*/
3434
class CheckAuthUsersAvailable extends Action
3535
{
36+
const ADMIN_RESOURCE = 'Magento_Config::config';
37+
3638
/**
3739
* @var Api
3840
*/

Controller/Adminhtml/FastlyCdn/BasicAuthentication/Create.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
*/
3636
class Create extends Action
3737
{
38+
const ADMIN_RESOURCE = 'Magento_Config::config';
39+
3840
/**
3941
* @var Http
4042
*/

0 commit comments

Comments
 (0)