Skip to content
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
merged 5 commits into from
Nov 27, 2024

Conversation

DanCatchpole
Copy link
Collaborator

JIRA link (if applicable)

Change description

  • Revert updates to the caseworker events as part of the states changes

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[X] No

@DanCatchpole DanCatchpole merged commit cc8a7be into master Nov 27, 2024
6 checks passed
@DanCatchpole DanCatchpole deleted the revert-history-tab branch November 27, 2024 09:08
hfilmore pushed a commit that referenced this pull request Nov 28, 2024
…ions (#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
hfilmore added a commit that referenced this pull request Dec 4, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants