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

pull/251/MERGE
RuoYi 2 years ago
parent e03cebac57
commit 07c2e08e4a

@ -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…
Cancel
Save