Skip to content

Commit

Permalink
feat: claim creation for multiparty (CMC-1200) (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
pd-dudkiewicz authored Jul 1, 2021
1 parent fadc4dc commit 37983c5
Show file tree
Hide file tree
Showing 19 changed files with 931 additions and 164 deletions.
117 changes: 117 additions & 0 deletions ccd-definition/AuthorisationCaseField/AuthorisationCaseField.json
Original file line number Diff line number Diff line change
Expand Up @@ -1842,6 +1842,60 @@
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriendRequired",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriend",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "addRespondent2",
Expand Down Expand Up @@ -1949,5 +2003,68 @@
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2EmailAddress",
"UserRoles": [
"caseworker-civil-solicitor",
"caseworker-civil-admin"
],
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2OrgLabel",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2OrganisationDetails",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2Reference",
"AccessControl": [
{
"UserRoles": [
"caseworker-civil-solicitor"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseworker-civil-admin"
],
"CRUD": "R"
}
]
}
]
12 changes: 12 additions & 0 deletions ccd-definition/AuthorisationCaseField/caseAccessAssignment.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,24 @@
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "claimType",
Expand Down
50 changes: 42 additions & 8 deletions ccd-definition/AuthorisationCaseField/staff.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,59 +582,93 @@
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "addApplicant2Label",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "addApplicant2",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriendRequired",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriend",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "addRespondent2",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2Represented",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2SameLegalRepresentative",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrgRegistered",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"LiveFrom": "01/01/2017",
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrganisationPolicy",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2EmailAddress",
"CRUD": "R",
"UserRole": "caseworker-civil-staff"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2OrgLabel",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2OrganisationDetails",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2Reference",
"UserRole": "caseworker-civil-staff",
"CRUD": "R"
}
]
42 changes: 42 additions & 0 deletions ccd-definition/AuthorisationCaseField/systemUpdate.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,24 @@
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriendRequired",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriend",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "addRespondent2",
Expand Down Expand Up @@ -274,5 +292,29 @@
"CaseFieldID": "respondent2OrganisationPolicy",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "R"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2EmailAddress",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2OrgLabel",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2OrganisationDetails",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondentSolicitor2Reference",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
}
]
35 changes: 35 additions & 0 deletions ccd-definition/AuthorisationComplexType/caseAccessAssignment.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,40 @@
"ListElementCode": "Organisation.OrganisationName",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrganisationPolicy",
"ListElementCode": "OrgPolicyCaseAssignedRole",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrganisationPolicy",
"ListElementCode": "OrgPolicyReference",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrganisationPolicy",
"ListElementCode": "Organisation",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrganisationPolicy",
"ListElementCode": "Organisation.OrganisationID",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2OrganisationPolicy",
"ListElementCode": "Organisation.OrganisationName",
"UserRole": "caseworker-caa",
"CRUD": "CRU"
}
]
Loading

0 comments on commit 37983c5

Please sign in to comment.