Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Extend allowed mutations list for read only mode (#12778)

Maciej Korycinskie0375bbb07f2
diff --git a/saleor/graphql/middleware.py b/saleor/graphql/middleware.py
index 4e52644f5c..e5227eb448 100644
--- a/saleor/graphql/middleware.py
+++ b/saleor/graphql/middleware.py
@@ -26,6 +26,12 @@ class ReadOnlyMiddleware:
"tokenCreate",
"tokenVerify",
"tokenRefresh",
+ "paymentGatewayInitialize",
+ "transactionInitialize",
+ "transactionProcess",
+ "transactionRequestAction",
+ "orderGrantRefundCreate",
+ "orderGrantRefundUpdate",
]
@staticmethod