Commit 90dc982d by 宁成龙

暂时去掉权限

parent 539ef76d
......@@ -45,6 +45,7 @@ class AssignUserHandle extends Form implements LazyRenderable
$adminUser = "userId";
$nowSaleId = getAdminUserId();
$role = PermService::getUserRoles($nowSaleId);
return $query;
if ($nowSaleId == 1000) {
return $query;
}
......
......@@ -45,6 +45,10 @@ class TransferUserHandle extends Form implements LazyRenderable
$adminUser = "userId";
$nowSaleId = getAdminUserId();
$role = PermService::getUserRoles($nowSaleId);
return $query;
if ($nowSaleId == 1000 || $role[0] == PermService::ROLE_SALE_DIRECTOR) {
return $query;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment