Model

IsLoginAsCustomerAllowedResolver

Magento\LoginAsCustomerAssistance\Model\Processor\IsLoginAsCustomerAllowedResolver

What it does

This class determines whether the 'Login as Customer' feature is allowed for a specific customer by checking if assistance is enabled for them.

It returns a result object containing any relevant messages, such as when the feature is disabled.

Developers use this to validate Login as Customer permissions before allowing admin users to authenticate as a customer.

Public Methods

  • execute()