|
@@ -86,7 +86,7 @@ public class JobInfoController {
|
86
|
86
|
public static void validPermission(HttpServletRequest request, int jobGroup) {
|
87
|
87
|
XxlJobUser loginUser = (XxlJobUser) request.getAttribute(LoginService.LOGIN_IDENTITY_KEY);
|
88
|
88
|
if (!loginUser.validPermission(jobGroup)) {
|
89
|
|
- throw new RuntimeException(I18nUtil.getString("system_permission_limit"));
|
|
89
|
+ throw new RuntimeException(I18nUtil.getString("system_permission_limit") + "[username="+ loginUser.getUsername() +"]");
|
90
|
90
|
}
|
91
|
91
|
}
|
92
|
92
|
|