File tree Expand file tree Collapse file tree 9 files changed +39
-3
lines changed
Backend/Controller/Adminhtml/System
Sales/Controller/Adminhtml/Order/Invoice Expand file tree Collapse file tree 9 files changed +39
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ abstract class Design extends Action
14
14
*
15
15
* @see _isAllowed()
16
16
*/
17
- const ADMIN_RESOURCE = 'Magento_Backend::design ' ;
17
+ const ADMIN_RESOURCE = 'Magento_Backend::schedule ' ;
18
18
19
19
/**
20
20
* Core registry
Original file line number Diff line number Diff line change 13
13
<service class =" Magento\Quote\Api\CartRepositoryInterface" method =" get" />
14
14
<resources >
15
15
<resource ref =" Magento_Cart::manage" />
16
+ <resource ref =" Magento_Customer::customer" />
16
17
</resources >
17
18
</route >
18
19
<route url =" /V1/carts/search" method =" GET" >
Original file line number Diff line number Diff line change 8
8
9
9
class Cancel extends \Magento \Sales \Controller \Adminhtml \Invoice \AbstractInvoice \View
10
10
{
11
+ /**
12
+ * Authorization level of a basic admin session
13
+ *
14
+ * @see _isAllowed()
15
+ */
16
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
17
+
11
18
/**
12
19
* Cancel invoice action
13
20
*
Original file line number Diff line number Diff line change 8
8
9
9
class Capture extends \Magento \Sales \Controller \Adminhtml \Invoice \AbstractInvoice \View
10
10
{
11
+ /**
12
+ * Authorization level of a basic admin session
13
+ *
14
+ * @see _isAllowed()
15
+ */
16
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
17
+
11
18
/**
12
19
* Capture invoice action
13
20
*
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ class NewAction extends \Magento\Backend\App\Action implements HttpGetActionInte
23
23
*
24
24
* @see _isAllowed()
25
25
*/
26
- const ADMIN_RESOURCE = 'Magento_Sales::sales_invoice ' ;
26
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
27
27
28
28
/**
29
29
* @var Registry
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class Save extends \Magento\Backend\App\Action implements HttpPostActionInterfac
30
30
*
31
31
* @see _isAllowed()
32
32
*/
33
- public const ADMIN_RESOURCE = 'Magento_Sales::sales_invoice ' ;
33
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
34
34
35
35
/**
36
36
* @var InvoiceSender
Original file line number Diff line number Diff line change 10
10
11
11
class Start extends \Magento \Sales \Controller \Adminhtml \Invoice \AbstractInvoice \View implements HttpGetActionInterface
12
12
{
13
+ /**
14
+ * Authorization level of a basic admin session
15
+ *
16
+ * @see _isAllowed()
17
+ */
18
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
19
+
13
20
/**
14
21
* Start create invoice action
15
22
*
Original file line number Diff line number Diff line change 23
23
*/
24
24
class UpdateQty extends AbstractView implements HttpPostActionInterface
25
25
{
26
+ /**
27
+ * Authorization level of a basic admin session
28
+ *
29
+ * @see _isAllowed()
30
+ */
31
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
32
+
26
33
/**
27
34
* @var JsonFactory
28
35
*/
Original file line number Diff line number Diff line change 8
8
9
9
class VoidAction extends \Magento \Sales \Controller \Adminhtml \Invoice \AbstractInvoice \View
10
10
{
11
+ /**
12
+ * Authorization level of a basic admin session
13
+ *
14
+ * @see _isAllowed()
15
+ */
16
+ public const ADMIN_RESOURCE = 'Magento_Sales::invoice ' ;
17
+
11
18
/**
12
19
* Void invoice action
13
20
*
You can’t perform that action at this time.
0 commit comments