修改数据权限中对于密级的判断

master
Guo XIn 1 year ago
parent e3a5e7b77f
commit c2b3585567
  1. 2
      shandan-system/src/main/java/com/keyware/shandan/bianmu/service/DirPermissionService.java

@ -136,7 +136,7 @@ public class DirPermissionService {
*/
private boolean secretLevelAllow(SysUser user, DirectoryVo dir) {
return user.getSecretLevel() > dir.getSecretLevel();
return user.getSecretLevel() >= dir.getSecretLevel();
}
/**