Skip to content

Commit

Permalink
导入更新用户数据前校验数据权限
Browse files Browse the repository at this point in the history
  • Loading branch information
yangzongzhuan committed Sep 28, 2022
1 parent e03ceba commit 07c2e08
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ public String importUser(List<SysUser> userList, Boolean isUpdateSupport, String
else if (isUpdateSupport)
{
BeanValidators.validateWithException(validator, user);
checkUserAllowed(user);
checkUserDataScope(user.getUserId());
user.setUpdateBy(operName);
this.updateUser(user);
successNum++;
Expand Down

0 comments on commit 07c2e08

Please sign in to comment.