Further restrict anonymous user access to anonymous orders.
Showing
- modules/cart/commerce_cart.module 59 additions, 0 deletionsmodules/cart/commerce_cart.module
- modules/cart/src/EventSubscriber/QueryAccessSubscriber.php 0 additions, 1 deletionmodules/cart/src/EventSubscriber/QueryAccessSubscriber.php
- modules/cart/tests/src/Functional/CartEntityAccessTest.php 232 additions, 0 deletionsmodules/cart/tests/src/Functional/CartEntityAccessTest.php
- modules/cart/tests/src/Kernel/CartQueryAccessTest.php 14 additions, 3 deletionsmodules/cart/tests/src/Kernel/CartQueryAccessTest.php
- modules/order/commerce_order.routing.yml 1 addition, 1 deletionmodules/order/commerce_order.routing.yml
- modules/order/src/Access/OrderUserViewAccessCheck.php 36 additions, 0 deletionsmodules/order/src/Access/OrderUserViewAccessCheck.php
- modules/order/src/OrderAccessControlHandler.php 1 addition, 1 deletionmodules/order/src/OrderAccessControlHandler.php
- modules/order/src/OrderRouteProvider.php 5 additions, 0 deletionsmodules/order/src/OrderRouteProvider.php
- modules/order/tests/src/Functional/OrderUserTest.php 44 additions, 1 deletionmodules/order/tests/src/Functional/OrderUserTest.php
- modules/order/tests/src/Kernel/OrderAccessControlHandlerTest.php 3 additions, 0 deletions.../order/tests/src/Kernel/OrderAccessControlHandlerTest.php
- src/Plugin/views/argument_validator/CurrentUser.php 11 additions, 4 deletionssrc/Plugin/views/argument_validator/CurrentUser.php
Loading
Please register or sign in to comment