diff --git a/vendor/magento/module-company/Plugin/Framework/Model/ActionValidator/RemoveActionPlugin.php b/vendor/magento/module-company/Plugin/Framework/Model/ActionValidator/RemoveActionPlugin.php
index 22240699e607..5ea0b6b135a0 100644
--- a/vendor/magento/module-company/Plugin/Framework/Model/ActionValidator/RemoveActionPlugin.php
+++ b/vendor/magento/module-company/Plugin/Framework/Model/ActionValidator/RemoveActionPlugin.php
@@ -17,13 +17,13 @@
 
 namespace Magento\Company\Plugin\Framework\Model\ActionValidator;
 
+use Closure;
+use Magento\Framework\Exception\LocalizedException;
 use Magento\Framework\Model\AbstractModel;
 use Magento\Authorization\Model\UserContextInterface;
 use Magento\Company\Model\Company\Structure;
+use Magento\Framework\Model\ActionValidator\RemoveAction;
 
-/**
- * Class RemoveActionPlugin.
- */
 class RemoveActionPlugin
 {
     /**
@@ -58,19 +58,22 @@ public function __construct(UserContextInterface $userContext, Structure $struct
     /**
      * Around isAllowed.
      *
-     * @param \Magento\Framework\Model\ActionValidator\RemoveAction $subject
-     * @param \Closure $proceed
+     * @param RemoveAction $subject
+     * @param Closure $proceed
      * @param AbstractModel $model
      * @return bool
      *
      * @SuppressWarnings(PHPMD.UnusedFormalParameter)
+     * @throws LocalizedException
      */
     public function aroundIsAllowed(
-        \Magento\Framework\Model\ActionValidator\RemoveAction $subject,
-        \Closure $proceed,
+        RemoveAction $subject,
+        Closure $proceed,
         AbstractModel $model
     ) {
-        if ($model instanceof $this->customerModel) {
+        if ($model instanceof $this->customerModel
+            && $this->userContext->getUserType() === UserContextInterface::USER_TYPE_CUSTOMER
+        ) {
             $customerId = $model->getId();
             $currentCustomerId = $this->userContext->getUserId();
             $allowedIds = $this->structureManager->getAllowedIds($currentCustomerId);
