导入更新用户数据前校验数据权限

pull/413/head
RuoYi 2 years ago
parent 7b3ab45ecc
commit 52fe19e933

@ -506,6 +506,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…
Cancel
Save