From 309a5cced1e322ad9a4c34c8b01f35cd893117a5 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Fri, 10 Jan 2025 14:10:32 +0000 Subject: [PATCH 1/3] Disable solicitor access to Case Submission event --- .../json/AuthorisationCaseEvent/AuthorisationCaseEvent.json | 2 +- .../json/AuthorisationCaseEvent/AuthorisationCaseEvent.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json b/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json index 3b66d36132..d088398b51 100644 --- a/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json +++ b/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json @@ -354,7 +354,7 @@ "CaseTypeID": "FinancialRemedyMVP2", "CaseEventID": "FR_applicationPaymentSubmission", "UserRole": "caseworker-divorce-financialremedy-solicitor", - "CRUD": "CR" + "CRUD": "R" }, { "LiveFrom": "01/01/2017", diff --git a/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json b/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json index f9cb52c4f8..44fda417f7 100644 --- a/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json +++ b/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json @@ -11,7 +11,7 @@ "CaseTypeID": "FinancialRemedyContested", "CaseEventID": "FR_applicationPaymentSubmission", "UserRole": "caseworker-divorce-financialremedy-solicitor", - "CRUD": "CR" + "CRUD": "R" }, { "LiveFrom": "01/01/2017", From b527f5e0cc8014edda48c11149b1c5206d7db58d Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Fri, 10 Jan 2025 15:28:28 +0000 Subject: [PATCH 2/3] Separate config into prod/nonprod files so the E2E tests still pass --- .../AuthorisationCaseEvent/AuthorisationCaseEvent.json | 7 ------- .../json/AuthorisationCaseEvent/DFR-3429-nonprod.json | 9 +++++++++ .../json/AuthorisationCaseEvent/DFR-3429-prod.json | 9 +++++++++ .../AuthorisationCaseEvent/AuthorisationCaseEvent.json | 7 ------- .../json/AuthorisationCaseEvent/DFR-3429-nonprod.json | 9 +++++++++ .../json/AuthorisationCaseEvent/DFR-3429-prod.json | 9 +++++++++ 6 files changed, 36 insertions(+), 14 deletions(-) create mode 100644 definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json create mode 100644 definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json create mode 100644 definitions/contested/json/AuthorisationCaseEvent/DFR-3429-nonprod.json create mode 100644 definitions/contested/json/AuthorisationCaseEvent/DFR-3429-prod.json diff --git a/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json b/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json index d088398b51..620beda163 100644 --- a/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json +++ b/definitions/consented/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json @@ -349,13 +349,6 @@ "UserRole": "caseworker-divorce-financialremedy-solicitor", "CRUD": "CR" }, - { - "LiveFrom": "01/01/2017", - "CaseTypeID": "FinancialRemedyMVP2", - "CaseEventID": "FR_applicationPaymentSubmission", - "UserRole": "caseworker-divorce-financialremedy-solicitor", - "CRUD": "R" - }, { "LiveFrom": "01/01/2017", "CaseTypeID": "FinancialRemedyMVP2", diff --git a/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json new file mode 100644 index 0000000000..7140f904a7 --- /dev/null +++ b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json @@ -0,0 +1,9 @@ +[ + { + "LiveFrom": "01/01/2017", + "CaseTypeID": "FinancialRemedyMVP2", + "CaseEventID": "FR_applicationPaymentSubmission", + "UserRole": "caseworker-divorce-financialremedy-solicitor", + "CRUD": "R" + } +] diff --git a/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json new file mode 100644 index 0000000000..496c5f1d41 --- /dev/null +++ b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json @@ -0,0 +1,9 @@ +[ + { + "LiveFrom": "01/01/2017", + "CaseTypeID": "FinancialRemedyMVP2", + "CaseEventID": "FR_applicationPaymentSubmission", + "UserRole": "caseworker-divorce-financialremedy-solicitor", + "CRUD": "CR" + } +] diff --git a/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json b/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json index 44fda417f7..9fd64685bc 100644 --- a/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json +++ b/definitions/contested/json/AuthorisationCaseEvent/AuthorisationCaseEvent.json @@ -6,13 +6,6 @@ "UserRole": "caseworker-divorce-financialremedy-solicitor", "CRUD": "CR" }, - { - "LiveFrom": "01/01/2017", - "CaseTypeID": "FinancialRemedyContested", - "CaseEventID": "FR_applicationPaymentSubmission", - "UserRole": "caseworker-divorce-financialremedy-solicitor", - "CRUD": "R" - }, { "LiveFrom": "01/01/2017", "CaseTypeID": "FinancialRemedyContested", diff --git a/definitions/contested/json/AuthorisationCaseEvent/DFR-3429-nonprod.json b/definitions/contested/json/AuthorisationCaseEvent/DFR-3429-nonprod.json new file mode 100644 index 0000000000..d43a24e26e --- /dev/null +++ b/definitions/contested/json/AuthorisationCaseEvent/DFR-3429-nonprod.json @@ -0,0 +1,9 @@ +[ + { + "LiveFrom": "01/01/2017", + "CaseTypeID": "FinancialRemedyContested", + "CaseEventID": "FR_applicationPaymentSubmission", + "UserRole": "caseworker-divorce-financialremedy-solicitor", + "CRUD": "CR" + } +] diff --git a/definitions/contested/json/AuthorisationCaseEvent/DFR-3429-prod.json b/definitions/contested/json/AuthorisationCaseEvent/DFR-3429-prod.json new file mode 100644 index 0000000000..5f5d426114 --- /dev/null +++ b/definitions/contested/json/AuthorisationCaseEvent/DFR-3429-prod.json @@ -0,0 +1,9 @@ +[ + { + "LiveFrom": "01/01/2017", + "CaseTypeID": "FinancialRemedyContested", + "CaseEventID": "FR_applicationPaymentSubmission", + "UserRole": "caseworker-divorce-financialremedy-solicitor", + "CRUD": "R" + } +] From 5b70881c63684a9439269868c3cab40bd89b5b9e Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Fri, 10 Jan 2025 15:30:12 +0000 Subject: [PATCH 3/3] Separate config into prod/nonprod files so the E2E tests still pass --- .../consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json | 2 +- .../consented/json/AuthorisationCaseEvent/DFR-3429-prod.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json index 7140f904a7..496c5f1d41 100644 --- a/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json +++ b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-nonprod.json @@ -4,6 +4,6 @@ "CaseTypeID": "FinancialRemedyMVP2", "CaseEventID": "FR_applicationPaymentSubmission", "UserRole": "caseworker-divorce-financialremedy-solicitor", - "CRUD": "R" + "CRUD": "CR" } ] diff --git a/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json index 496c5f1d41..7140f904a7 100644 --- a/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json +++ b/definitions/consented/json/AuthorisationCaseEvent/DFR-3429-prod.json @@ -4,6 +4,6 @@ "CaseTypeID": "FinancialRemedyMVP2", "CaseEventID": "FR_applicationPaymentSubmission", "UserRole": "caseworker-divorce-financialremedy-solicitor", - "CRUD": "CR" + "CRUD": "R" } ]