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

This commit is contained in:
RuoYi 2022-09-28 19:26:16 +08:00
parent e95a1245c5
commit 03f7bc0f3f
1 changed files with 2 additions and 0 deletions

View File

@ -508,6 +508,8 @@ public class SysUserServiceImpl implements ISysUserService
else if (isUpdateSupport)
{
BeanValidators.validateWithException(validator, user);
checkUserAllowed(user);
checkUserDataScope(user.getUserId());
user.setUpdateBy(operName);
this.updateUser(user);
successNum++;