Skip to content

Commit 8c1bdac

Browse files
committed
执行器详情接口权限调整,支持普通用户查看注册节点;合并PR-3882;
1 parent 0e41987 commit 8c1bdac

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/XXL-JOB官方文档.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2755,7 +2755,8 @@ public void execute() {
27552755
- 4、【优化】表格交互优化:优化分页显示配置;禁用分页循环;多选行操作优化/默认单选;
27562756
- 5、【优化】优雅停机:调度中心停机,检测时间轮非空时主动等待调度完成;客户端停机,检测存在运行中任务时,停止接收新任务并主动等待任务执行完成;
27572757
- 6、【优化】调度中心OpenAPI通讯token调整为非必填;合并PR-3892;
2758-
- 7、【TODO】任务调度触发后分批批量更新,提升调度性能;
2758+
- 7、【优化】执行器详情接口权限调整,支持普通用户查看注册节点;合并PR-3882;
2759+
- 8、【TODO】任务调度触发后分批批量更新,提升调度性能;
27592760

27602761

27612762

xxl-job-admin/src/main/java/com/xxl/job/admin/controller/biz/JobGroupController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ public Response<String> delete(@RequestParam("ids[]") List<Integer> ids){
216216

217217
@RequestMapping("/loadById")
218218
@ResponseBody
219-
//@XxlSso(role = Consts.ADMIN_ROLE)
219+
//@XxlSso(role = Consts.ADMIN_ROLE) // open to default user, support show registry nodes
220220
public Response<XxlJobGroup> loadById(@RequestParam("id") int id){
221221
XxlJobGroup jobGroup = xxlJobGroupMapper.load(id);
222222
return jobGroup!=null?Response.ofSuccess(jobGroup):Response.ofFail();

0 commit comments

Comments
 (0)