Model
ChangeQuoteControl
Magento\Quote\Model\ChangeQuoteControl
What it does
This class controls whether a user has permission to modify a shopping cart/quote.
Developers use it to verify if the current user (customer, guest, admin, or integration) is authorized to make changes to a specific quote, ensuring customers can only modify their own carts while admins and integrations have full access.
Public Methods
- isAllowed()