Skip to content

Commit

Permalink
Merge pull request #64 from hmcts/feature/CIV-721
Browse files Browse the repository at this point in the history
Feature/civ 721
  • Loading branch information
faranhmcts authored Feb 22, 2022
2 parents 84fb62f + 1a50f00 commit 07fbcf3
Show file tree
Hide file tree
Showing 12 changed files with 241 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplications",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-systemupdate",
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
}
]
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationsDetails",
"AccessControl": [
{
"UserRoles": [
Expand Down Expand Up @@ -35,9 +48,40 @@
}
]
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationType",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-systemupdate"
],
"CRUD": "CRU"
}
]
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalAppParentCaseLink",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-systemupdate",
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "caseLink",
"AccessControl": [
{
"UserRoles": [
Expand Down Expand Up @@ -247,6 +291,14 @@
],
"CRUD": "CRUD"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalAppSubmittedDateGAspec",
"UserRoles": [
"caseworker-civil-systemupdate"
],
"CRUD": "CRUD"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalAppRespondent1Representative",
Expand Down
18 changes: 18 additions & 0 deletions ccd-definition/AuthorisationCaseField/StaffGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,23 @@
"CaseFieldID": "respondentSolicitor1EmailAddress",
"CRUD": "R",
"UserRole": "caseworker-civil-staff"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalAppSubmittedDateGAspec",
"CRUD": "R",
"UserRole": "caseworker-civil-staff"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationsDetails",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalAppParentCaseLink",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalAppParentCaseLink",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplications",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
}
]
9 changes: 9 additions & 0 deletions ccd-definition/AuthorisationComplexType/solicitorGAspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplications",
"ListElementCode": "generalAppParentCaseLink",
"UserRole": "caseworker-civil-solicitor",
"CRUD": "CRU"
}
]
35 changes: 35 additions & 0 deletions ccd-definition/AuthorisationComplexType/systemUpdateGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,41 @@
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplications",
"ListElementCode": "generalAppSubmittedDateGAspec",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationsDetails",
"ListElementCode": "generalAppSubmittedDateGAspec",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationsDetails",
"ListElementCode": "caseLink",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationsDetails",
"ListElementCode": "caseState",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplicationsDetails",
"ListElementCode": "generalApplicationType",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRU"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplications",
Expand Down
2 changes: 1 addition & 1 deletion ccd-definition/CaseEvent/Camunda/MakePBAPaymentGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
"CallBackURLAboutToSubmitEvent": "${CCD_DEF_GEN_APP_SERVICE_BASE_URL}/cases/callbacks/about-to-submit",
"RetriesTimeoutURLAboutToSubmitEvent": 0
}
]
]
7 changes: 7 additions & 0 deletions ccd-definition/CaseEventToComplexTypes/solicitorGAspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"CaseTypeID": "GENERALAPPLICATION",
"CaseFieldID": "generalApplications",
"ListElementCode": "generalAppParentCaseLink",
"UserRole": "caseworker-civil-solicitor",
"CRUD": "CRU"
}
36 changes: 36 additions & 0 deletions ccd-definition/CaseField/CaseFieldGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
"FieldType": "CaseLink",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "caseLink",
"Label": "caseLink",
"HintText": " ",
"FieldType": "CaseLink",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "generalAppTypeLabel",
Expand All @@ -43,6 +51,16 @@
"_Definition": "Type of the child application on the case",
"_Category": "COMMON"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "generalApplicationType",
"Label": "What type of applications do you want to make?",
"HintText": " ",
"FieldType": "Text",
"SecurityClassification": "Public",
"_Definition": "Type of the child application on the case",
"_Category": "COMMON"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "generalAppRespondentAgreement",
Expand Down Expand Up @@ -200,6 +218,24 @@
"FieldType": "Email",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "generalAppSubmittedDateGAspec",
"Label": "General Application Submitted on",
"FieldType": "DateTime",
"SecurityClassification": "Public"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "generalApplicationsDetails",
"Label": " ",
"ElementLabel": "Application Type",
"FieldType": "Collection",
"FieldTypeParameter": "GeneralApplicationDetailsGAspec",
"SecurityClassification": "Public",
"_Definition": "The details of the child application on the case",
"_Category": "COMMON"
},
{
"CaseTypeID": "GENERALAPPLICATION",
"ID": "generalAppRespondent1Representative",
Expand Down
10 changes: 10 additions & 0 deletions ccd-definition/CaseTypeTab/SummaryGAspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"CaseTypeID": "GENERALAPPLICATION",
"TabID": "SummaryGA",
"TabLabel": "Summary General Application",
"TabDisplayOrder": 1,
"CaseFieldID": "generalAppParentCaseLink",
"TabFieldDisplayOrder": 1
}
]
9 changes: 9 additions & 0 deletions ccd-definition/ComplexTypes/GAStatusGAspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[
{
"ID": "GAStatusGAspec",
"ListElementCode": "status",
"FieldType": "Text",
"ElementLabel": " ",
"SecurityClassification": "Public"
}
]
34 changes: 34 additions & 0 deletions ccd-definition/ComplexTypes/GeneralApplicationDetailsGAspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[
{
"ID": "GeneralApplicationDetailsGAspec",
"ListElementCode": "generalApplicationType",
"FieldType": "Text",
"Label": "Application Type",
"ElementLabel": "Application Type",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationDetailsGAspec",
"ListElementCode": "caseLink",
"FieldType": "CaseLink",
"Label": "Application ID",
"ElementLabel": "Application ID",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationDetailsGAspec",
"ListElementCode": "caseState",
"FieldType": "Text",
"Label": "Status",
"ElementLabel": "Status",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationDetailsGAspec",
"ListElementCode": "generalAppSubmittedDateGAspec",
"FieldType": "DateTime",
"Label": "Submitted on",
"ElementLabel": "Submitted on",
"SecurityClassification": "Public"
}
]
16 changes: 16 additions & 0 deletions ccd-definition/ComplexTypes/GeneralApplicationGAspec.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"ElementLabel": "Application ID",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationGAspec",
"ListElementCode": "caseLink",
"FieldType": "CaseLink",
"Label": "Application ID",
"ElementLabel": "Application ID",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationGAspec",
"ListElementCode": "generalAppType",
Expand Down Expand Up @@ -136,6 +144,14 @@
"FieldType": "Email",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationGAspec",
"ListElementCode": "generalAppSubmittedDateGAspec",
"FieldType": "DateTime",
"Label": "Submitted on",
"ElementLabel": "Submitted on",
"SecurityClassification": "Public"
},
{
"ID": "GeneralApplicationGAspec",
"ListElementCode": "generalAppDeadlineNotification",
Expand Down

0 comments on commit 07fbcf3

Please sign in to comment.