Skip to content

Commit

Permalink
[HOTFIX] Fix commented
Browse files Browse the repository at this point in the history
  • Loading branch information
jongyoul committed Feb 7, 2024
1 parent 7cdef8a commit 982e64b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ public String getShiroPath() {
}

public boolean isAuthenticationEnabled() {
return StringUtils.EMPTY != getShiroPath();
return !StringUtils.isBlank(getShiroPath());
}

public String getInterpreterRemoteRunnerPath() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ public void updateNote(String noteId,
return null;
}

if (context.getUserAndRoles().containsAll(requestCronRoles)) {
if (!context.getUserAndRoles().containsAll(requestCronRoles)) {
LOGGER.error("Wrong cronExecutingRoles: {}", requestCronRoles);
callback.onFailure(new IllegalArgumentException(requestCronRoles.toString()), context);
return null;
Expand Down

0 comments on commit 982e64b

Please sign in to comment.