Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Add customer account validation in Quote operations #486

@naydav

Description

@naydav

Now "locked" or "not confirmed" customer could perform any operation with own cart.

Need to add the check with \Magento\CustomerGraphQl\Model\Customer\GetCustomer::execute (see examples of using this class in code)
in
https://github.com/magento/graphql-ce/blob/2.3-develop/app/code/Magento/QuoteGraphQl/Model/Cart/GetCartForUser.php#L84
to avoid this behavior.

Functionality should be covered with API-functional tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions