Skip to content

Commit

Permalink
CIV-3419 Create caseflags (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gareth40343 authored Mar 6, 2023
1 parent 26e17db commit 8fb5b71
Show file tree
Hide file tree
Showing 59 changed files with 2,039 additions and 151 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,275 @@
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "caseFlags",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant1",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant1LitigationFriend",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicant2LitigationFriend",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1LitigationFriend",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2LitigationFriend",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicantExperts",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRUD"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicantWitnesses",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRUD"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1Witnesses",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRUD"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1Experts",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRUD"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2Witnesses",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRUD"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2Experts",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRUD"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicantExperts",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "applicantWitnesses",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1Witnesses",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent1Experts",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2Witnesses",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
},
{
"CaseTypeID": "CIVIL",
"CaseFieldID": "respondent2Experts",
"UserRole": "caseworker-civil-systemupdate",
"CRUD": "CRUD"
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[
{
"CaseTypeID": "CIVIL",
"CaseStateID": "JUDICIAL_REFERRAL",
"AccessControl": [
{
"UserRoles": [
"caseflags-admin"
],
"CRUD": "CRU"
},
{
"UserRoles": [
"caseflags-viewer"
],
"CRUD": "R"
}
]
}
]
16 changes: 6 additions & 10 deletions ccd-definition/CaseEvent/User/UserEvents-CaseFlags-nonprod.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
"Name": "Create case flags",
"Description": "Create case flags",
"DisplayOrder": 23,
"PreConditionState(s)": "CASE_ISSUED;AWAITING_CASE_DETAILS_NOTIFICATION;AWAITING_RESPONDENT_ACKNOWLEDGEMENT;AWAITING_APPLICANT_INTENTION",
"PreConditionState(s)": "*",
"PostConditionState": "*",
"SecurityClassification": "Public",
"ShowSummary": "N",
"ShowEventNotes": "N",
"EndButtonLabel": "Submit",
"CallBackURLAboutToStartEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-start",
"ShowSummary": "Y",
"ShowEventNotes": "Y",
"RetriesTimeoutAboutToStartEvent": 0
},
{
Expand All @@ -20,13 +18,11 @@
"Name": "Manage case flags",
"Description": "Manage case flags",
"DisplayOrder": 24,
"PreConditionState(s)": "CASE_ISSUED;AWAITING_CASE_DETAILS_NOTIFICATION;AWAITING_RESPONDENT_ACKNOWLEDGEMENT;AWAITING_APPLICANT_INTENTION",
"PreConditionState(s)": "*",
"PostConditionState": "*",
"SecurityClassification": "Public",
"ShowSummary": "N",
"ShowEventNotes": "N",
"EndButtonLabel": "Submit",
"CallBackURLAboutToStartEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-start",
"ShowSummary": "Y",
"ShowEventNotes": "Y",
"RetriesTimeoutAboutToStartEvent": 0
}
]
Loading

0 comments on commit 8fb5b71

Please sign in to comment.