放开普通用户查看注册节点的权限

放开普通用户查看注册节点信息的权限,这部分信息不敏感应该开放给普通用户。
3.3.2-release
hengheng 9 months ago committed by GitHub
parent c4b41e0210
commit f2230ad559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -216,7 +216,7 @@ public class JobGroupController {
@RequestMapping("/loadById")
@ResponseBody
@XxlSso(role = Consts.ADMIN_ROLE)
//@XxlSso(role = Consts.ADMIN_ROLE)
public Response<XxlJobGroup> loadById(@RequestParam("id") int id){
XxlJobGroup jobGroup = xxlJobGroupMapper.load(id);
return jobGroup!=null?Response.ofSuccess(jobGroup):Response.ofFail();

Loading…
Cancel
Save