Skip to content

Commit

Permalink
fix(UI): Added code to load moderation documents in request tab
Browse files Browse the repository at this point in the history
Signed-off-by: Nikesh kumar <[email protected]>
  • Loading branch information
Nikesh kumar committed Aug 11, 2023
1 parent 51e8407 commit 5a1ba61
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -965,6 +965,7 @@ public void renderProjectModeration(RenderRequest request, RenderResponse respon
request.setAttribute(PortalConstants.ACTUAL_PROJECT, actual_project);
request.setAttribute(PortalConstants.DEFAULT_LICENSE_INFO_HEADER_TEXT, getDefaultLicenseInfoHeaderText(actual_project.getBusinessUnit()));
request.setAttribute(IS_CLEARING_REQUEST_DISABLED_FOR_PROJECT_BU, true);
request.setAttribute(PortalConstants.IS_SBOM_IMPORT_EXPORT_ACCESS_USER, SW360Utils.isUserAtleastDesiredRoleInPrimaryOrSecondaryGroup(user, SW360Constants.SBOM_IMPORT_EXPORT_ACCESS_USER_ROLE));
} catch (TException e) {
log.error("Could not retrieve project", e);
}
Expand Down

0 comments on commit 5a1ba61

Please sign in to comment.