Skip to content

Commit 0e41987

Browse files
authored
Merge pull request #3882 from henghengdh/master
放开普通用户查看注册节点的权限
2 parents 738cf40 + f2230ad commit 0e41987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)
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)