Add per-store managers for Woo Business accounts.
Deploy Ladill Woo Manager / deploy (push) Successful in 39s
Deploy Ladill Woo Manager / deploy (push) Successful in 39s
Agencies can invite store-scoped managers via Identity, with access limited to one WooCommerce store while owners retain full multi-store control. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -123,6 +123,11 @@ class SubscriptionService
|
||||
return $this->productCount($user) < $this->maxProducts($user);
|
||||
}
|
||||
|
||||
public function canManageStoreTeam(User $user): bool
|
||||
{
|
||||
return $this->isEnterprise($user);
|
||||
}
|
||||
|
||||
public function canIngestProduct(User $user, WooStore $store, int $externalId): bool
|
||||
{
|
||||
if ($this->isPro($user)) {
|
||||
|
||||
Reference in New Issue
Block a user