Skip to content

Hdpi 5335 enable access to globalsearch without parties#1842

Open
toby-plunkett wants to merge 106 commits into
masterfrom
HDPI-5335-enable-access-to-globalsearch-without-parties
Open

Hdpi 5335 enable access to globalsearch without parties#1842
toby-plunkett wants to merge 106 commits into
masterfrom
HDPI-5335-enable-access-to-globalsearch-without-parties

Conversation

@toby-plunkett
Copy link
Copy Markdown
Collaborator

@toby-plunkett toby-plunkett commented May 18, 2026

Jira link

See HDPI-5335

Change description

This PR contains all changes needed to enable global search.
It also includes a rework of how Access Profiles are assigned, allowing us to assign multiple access profiles without duplicate lines of code.

Each of these changes has been done on a single branch and merged together for testing. However changes were made after being merged.
Due to this, most of this code has already been reviewed. I have made note of the files via comments to save time with reviews.

These changes can be found in the following Jira Tickets.
https://tools.hmcts.net/jira/browse/HDPI-6150 --> #1714
https://tools.hmcts.net/jira/browse/HDPI-4178
https://tools.hmcts.net/jira/browse/HDPI-4161
https://tools.hmcts.net/jira/browse/HDPI-4172

To be clear. The individual branches of these changes (which can be accessed via the Jira tickets above) only contain the original merge / approach. Once all these branches were combined, further changes were made which are not necessarily reflected in the original branches. Therefore, testing for these branches should be done on this combined branch.

image

Testing done

Testing completed via Preview environment.

Security Vulnerability Assessment

CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?

  • Yes
  • No

Checklist

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • Does this PR introduce a breaking change

spnaik77 and others added 30 commits March 31, 2026 14:27
# Conflicts:
#	src/main/java/uk/gov/hmcts/reform/pcs/ccd/domain/PCSCase.java
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Originally reviewed under: #1714
No changes have me made

@@ -14,7 +14,6 @@ global:

java:
Copy link
Copy Markdown
Collaborator Author

@toby-plunkett toby-plunkett May 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 199-->202 contain the only changes that haven't been reviewed. The rest reviewed under #1714

Comment thread Jenkinsfile_CNP
@@ -53,7 +53,6 @@ withPipeline(type, product, component) {
setPreviewEnvVars()
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No changes. Previously reviewed: #1714


roleNames.add("caseworker");
roleNames.add("caseworker-ras-validation");
roleNames.add("GS_profile");
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved here: #1743

@@ -7,6 +7,7 @@
import uk.gov.hmcts.reform.pcs.ccd.accesscontrol.CitizenAccess;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved here: #1773

new CcdRoleConfig("caseworker-sscs-pcqextractor", "PUBLIC"),
new CcdRoleConfig("caseworker-sscs-hmrcresponsewriter", "PUBLIC"),
new CcdRoleConfig("caseworker-sscs-ibcaresponsewriter", "PUBLIC"),
new CcdRoleConfig("caseworker-wa-task-configuration", "RESTRICTED"),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's remember to remove these sscs roles before merging the PR

@benouaer benouaer marked this pull request as ready for review May 21, 2026 07:42
@benouaer benouaer requested review from a team, andrewdami11 and guygrewal77 May 21, 2026 07:42
Comment thread Jenkinsfile_CNP
setPreviewEnvVars()
if (githubApi.getLabelsbyPattern(env.BRANCH_NAME, "pr-values:ccd").size() > 0) {
env.CCD_ENABLED = "true"
env.CASE_TYPE_SUFFIX="${CHANGE_ID}"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the reason for removing this?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Global search wasn't working when we had the case number on the end of the case type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants