mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-12-02 03:48:05 +08:00
pre commit 2.11.0.3
This commit is contained in:
parent
ccd449893a
commit
3ad0b58137
@ -1,5 +1,11 @@
|
|||||||
# 🚀 版本日志
|
# 🚀 版本日志
|
||||||
|
|
||||||
|
### 2.11.0.3-beta (2024-01-02)
|
||||||
|
|
||||||
|
### 🐞 解决BUG、优化功能
|
||||||
|
|
||||||
|
1. 【server】修复 没有对应的工作空间权限
|
||||||
|
|
||||||
### 2.11.0.2-beta (2024-01-02)
|
### 2.11.0.2-beta (2024-01-02)
|
||||||
|
|
||||||
### 🐞 解决BUG、优化功能
|
### 🐞 解决BUG、优化功能
|
||||||
|
@ -263,7 +263,7 @@ public abstract class BaseWorkspaceService<T extends BaseWorkspaceModel> extends
|
|||||||
// 查询绑定的权限
|
// 查询绑定的权限
|
||||||
UserBindWorkspaceService userBindWorkspaceService = SpringUtil.getBean(UserBindWorkspaceService.class);
|
UserBindWorkspaceService userBindWorkspaceService = SpringUtil.getBean(UserBindWorkspaceService.class);
|
||||||
boolean exists = userBindWorkspaceService.exists(userModel, workspaceId);
|
boolean exists = userBindWorkspaceService.exists(userModel, workspaceId);
|
||||||
if (exists) {
|
if (!exists) {
|
||||||
throw new PermissionException("没有对应的工作空间权限");
|
throw new PermissionException("没有对应的工作空间权限");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user