导入更新用户数据前校验数据权限
This commit is contained in:
parent
e95a1245c5
commit
03f7bc0f3f
|
@ -508,6 +508,8 @@ public class SysUserServiceImpl implements ISysUserService
|
||||||
else if (isUpdateSupport)
|
else if (isUpdateSupport)
|
||||||
{
|
{
|
||||||
BeanValidators.validateWithException(validator, user);
|
BeanValidators.validateWithException(validator, user);
|
||||||
|
checkUserAllowed(user);
|
||||||
|
checkUserDataScope(user.getUserId());
|
||||||
user.setUpdateBy(operName);
|
user.setUpdateBy(operName);
|
||||||
this.updateUser(user);
|
this.updateUser(user);
|
||||||
successNum++;
|
successNum++;
|
||||||
|
|
Loading…
Reference in New Issue