generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert changes to caseworker events, knock on effect to field permissions #960
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hmcts-jenkins-a-to-c
bot
added
ns:adoption
prd:adoption
rel:adoption-cos-api-pr-960
labels
Nov 25, 2024
hfilmore
approved these changes
Nov 26, 2024
hfilmore
added a commit
that referenced
this pull request
Jan 13, 2025
* [ADOP-2551] Retain & Dispose: (a) Define top-level TTL field for the case type * [ADOP-2551] Retain & Dispose: (b) Define TTLIncrement for significant events * [ADOP-2551] Retain & Dispose: (c) Create event to manage TTL information i.e. suspend or resume TTL * [ADOP-2551] Retain & Dispose: (d) Configure TTL fields for the suspend/resume TTL event * [ADOP-2551] Retain & Dispose: (e) Review AccessProfile for TTL (add TTL_profile) * [ADOP-2551] Retain & Dispose: (e) amended default permission for TTL_PROFILE to Read * [ADOP-2552] Retain & Dispose: (f) (2/3) Grant access to TTL_profile for the case type and top level TTL case field * Revert changes to caseworker events, knock on effect to field permissions (#960) * Revert "ADOP-2544 removal of states in case list filters (#954)" This reverts commit 1ba0ead. * KEEP the state + citizen event changes * keep readme too * keep parts of revert around draft states * checkstyle * [ADOP-2551] add State permissions for TTL profile * [ADOP-2551] update permissions on event * [ADOP-2551] rename IDAM enum to TTL_MANAGER and update permissions for case worker and System * [ADOP-2551] Retain & Dispose: (f) Grant access to TTL_profile for the subfields * Point to dtsse-ccd-config-generator v 5.5.13-alpha for testing * linting * [ADOP-2551] add TTL_profile * [ADOP-2551] tweak to event permissions to prevent caseworker access to Draft cases * remove unused import * [ADOP-2551] remove commented out code and give caseworker CRU access for AuthorisationCaseType * [ADOP-2551] increase caseworker permissions to enable event Next Step dropdown * [ADOP-2551] increasing caseworker access to States excluding Draft * [ADOP-2551] remove event links from tabs * [ADOP-2551] add showCondition to never show CASEWORKER_ALLOCATE_JUDGE event on Next Step dropdown * [ADOP-2551] hide unused Caseworker Events * temporarily comment out show condition on CaseWorkerAllocateJudge * undo temporarily comment out show condition on CaseWorkerAllocateJudge * [ADOP-2551] WIP Update - test class for ManageCaseTtl event * [ADOP-2551] updates to ManageCaseTtl Test. * [ADOP-2551] updated ccd.sdk to release containing TTL Complex Type * [ADOP-2551] remove TTL from Create Case event until CCD fix tested * [ADOP-2551] tidy up code * [ADOP-2551] removed unused imports * [ADOP-2551] give SystemUpdate CRUD access to TTL * [ADOP-2551] add 90 day ttl back for case creation * [ADOP-2551] point preview at CCD PR adding Case Creation Retain & Dispose functionality * Revert: point preview at CCD PR * [ADOP-2551] remove TTL access for caseworker --------- Co-authored-by: Daniel Catchpole <daniel.catchpole@justice.gov.uk>
DanCatchpole
added a commit
that referenced
this pull request
Jan 14, 2025
* [ADOP-2551] Retain & Dispose: (a) Define top-level TTL field for the case type * [ADOP-2551] Retain & Dispose: (b) Define TTLIncrement for significant events * [ADOP-2551] Retain & Dispose: (c) Create event to manage TTL information i.e. suspend or resume TTL * [ADOP-2551] Retain & Dispose: (d) Configure TTL fields for the suspend/resume TTL event * [ADOP-2551] Retain & Dispose: (e) Review AccessProfile for TTL (add TTL_profile) * [ADOP-2551] Retain & Dispose: (e) amended default permission for TTL_PROFILE to Read * [ADOP-2552] Retain & Dispose: (f) (2/3) Grant access to TTL_profile for the case type and top level TTL case field * Revert changes to caseworker events, knock on effect to field permissions (#960) * Revert "ADOP-2544 removal of states in case list filters (#954)" This reverts commit 1ba0ead. * KEEP the state + citizen event changes * keep readme too * keep parts of revert around draft states * checkstyle * [ADOP-2551] add State permissions for TTL profile * [ADOP-2551] update permissions on event * [ADOP-2551] rename IDAM enum to TTL_MANAGER and update permissions for case worker and System * [ADOP-2551] Retain & Dispose: (f) Grant access to TTL_profile for the subfields * Point to dtsse-ccd-config-generator v 5.5.13-alpha for testing * linting * [ADOP-2551] add TTL_profile * [ADOP-2551] tweak to event permissions to prevent caseworker access to Draft cases * remove unused import * [ADOP-2551] remove commented out code and give caseworker CRU access for AuthorisationCaseType * [ADOP-2551] increase caseworker permissions to enable event Next Step dropdown * [ADOP-2551] increasing caseworker access to States excluding Draft * [ADOP-2551] remove event links from tabs * [ADOP-2551] add showCondition to never show CASEWORKER_ALLOCATE_JUDGE event on Next Step dropdown * [ADOP-2551] hide unused Caseworker Events * temporarily comment out show condition on CaseWorkerAllocateJudge * undo temporarily comment out show condition on CaseWorkerAllocateJudge * [ADOP-2551] WIP Update - test class for ManageCaseTtl event * [ADOP-2551] updates to ManageCaseTtl Test. * [ADOP-2551] updated ccd.sdk to release containing TTL Complex Type * [ADOP-2551] remove TTL from Create Case event until CCD fix tested * [ADOP-2551] tidy up code * [ADOP-2551] removed unused imports * [ADOP-2551] give SystemUpdate CRUD access to TTL * [ADOP-2551] add 90 day ttl back for case creation * [ADOP-2551] point preview at CCD PR adding Case Creation Retain & Dispose functionality * Add empty function to allow migration to run * Update MigrateCase.java * Update values.preview.template.yaml * Revert: point preview at CCD PR --------- Co-authored-by: hfilmore <hannah.filmore@justice.gov.uk> Co-authored-by: Daniel Catchpole <daniel.catchpole@justice.gov.uk> Co-authored-by: hfilmore <156826086+hfilmore@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")