update api register
This commit is contained in:
@@ -66,7 +66,7 @@ class AccessService
|
||||
return true;
|
||||
}
|
||||
|
||||
if (! $actor->isTenantOwner() || ! $tenantId || $target->isMasterAdmin()) {
|
||||
if (! $actor->isTenantOwner($tenantId) || ! $tenantId || $target->isMasterAdmin()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user