Skip to content

Commit

Permalink
feat: add deletable flag to admin-ui role object #888
Browse files Browse the repository at this point in the history
  • Loading branch information
duttarnab committed Feb 24, 2022
1 parent e247ae0 commit c619e6f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,4 +351,11 @@ private void validateRolePermissionMapping(AdminConf adminConf, RolePermissionMa
throw new ApplicationException(Response.Status.BAD_REQUEST.getStatusCode(), ErrorResponse.PERMISSION_NOT_FOUND.getDescription());
}
}

private static boolean isFalse(Boolean bool) {
if (bool == null) {
return true;
}
return bool.booleanValue() ? false : true;
}
}

0 comments on commit c619e6f

Please sign in to comment.