-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CIV-3401 Access profiles for case flags (#2043)
- Loading branch information
Showing
12 changed files
with
341 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
ccd-definition/AuthorisationCaseEvent/AuthorisationCaseEvent-CaseFlags-nonprod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[ | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"CaseEventID": "CREATE_CASE_FLAGS", | ||
"AccessControl": [ | ||
{ | ||
"UserRoles": [ | ||
"caseflags-admin" | ||
], | ||
"CRUD": "CRU" | ||
} | ||
] | ||
}, | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"CaseEventID": "MANAGE_CASE_FLAGS", | ||
"AccessControl": [ | ||
{ | ||
"UserRoles": [ | ||
"caseflags-admin" | ||
], | ||
"CRUD": "CRU" | ||
} | ||
] | ||
} | ||
] |
20 changes: 20 additions & 0 deletions
20
ccd-definition/AuthorisationCaseField/AuthorisationCaseField-CaseFlags-nonprod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[ | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"CaseFieldID": "flagLauncher", | ||
"AccessControl": [ | ||
{ | ||
"UserRoles": [ | ||
"caseflags-admin" | ||
], | ||
"CRUD": "CRU" | ||
}, | ||
{ | ||
"UserRoles": [ | ||
"caseflags-viewer" | ||
], | ||
"CRUD": "R" | ||
} | ||
] | ||
} | ||
] |
32 changes: 32 additions & 0 deletions
32
ccd-definition/CaseEvent/User/UserEvents-CaseFlags-nonprod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"ID": "CREATE_CASE_FLAGS", | ||
"Name": "Create case flags", | ||
"Description": "Create case flags", | ||
"DisplayOrder": 23, | ||
"PreConditionState(s)": "CASE_ISSUED;AWAITING_CASE_DETAILS_NOTIFICATION;AWAITING_RESPONDENT_ACKNOWLEDGEMENT;AWAITING_APPLICANT_INTENTION", | ||
"PostConditionState": "*", | ||
"SecurityClassification": "Public", | ||
"ShowSummary": "N", | ||
"ShowEventNotes": "N", | ||
"EndButtonLabel": "Submit", | ||
"CallBackURLAboutToStartEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-start", | ||
"RetriesTimeoutAboutToStartEvent": 0 | ||
}, | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"ID": "MANAGE_CASE_FLAGS", | ||
"Name": "Manage case flags", | ||
"Description": "Manage case flags", | ||
"DisplayOrder": 24, | ||
"PreConditionState(s)": "CASE_ISSUED;AWAITING_CASE_DETAILS_NOTIFICATION;AWAITING_RESPONDENT_ACKNOWLEDGEMENT;AWAITING_APPLICANT_INTENTION", | ||
"PostConditionState": "*", | ||
"SecurityClassification": "Public", | ||
"ShowSummary": "N", | ||
"ShowEventNotes": "N", | ||
"EndButtonLabel": "Submit", | ||
"CallBackURLAboutToStartEvent": "${CCD_DEF_CASE_SERVICE_BASE_URL}/cases/callbacks/about-to-start", | ||
"RetriesTimeoutAboutToStartEvent": 0 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"ID": "flagLauncher", | ||
"Label": "Launch the Flags screen", | ||
"FieldType": "FlagLauncher", | ||
"SecurityClassification": "Public" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"CaseTypeID": "CIVIL", | ||
"TabID": "caseFlags", | ||
"TabLabel": "Case Flags", | ||
"TabDisplayOrder": 13, | ||
"CaseFieldID": "flagLauncher", | ||
"TabFieldDisplayOrder": 1 | ||
} | ||
] |
110 changes: 110 additions & 0 deletions
110
ccd-definition/RoleToAccessProfiles/RoleToAccessProfiles-CaseFlags-nonprod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
[ | ||
{ | ||
"RoleName" : "leadership-judge", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "judge-profile,GS_profile,caseflags-viewer", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "judge", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "judge-profile,GS_profile,caseflags-viewer", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "specific-access-judiciary", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "judge-profile,caseworker-civil,GS_profile,caseflags-viewer", | ||
"ReadOnly": "Y", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "challenged-access-judiciary", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,judge-profile,caseworker-civil,caseflags-viewer", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "hearing-centre-admin", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,hearing-schedule-access,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "ctsc-team-leader", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "ctsc", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "nbc-team-leader", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "national-business-centre", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,hearing-schedule-access,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "hearing-centre-team-leader", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,hearing-schedule-access,caseworker-civil-admin,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "specific-access-admin", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,legal-adviser,caseworker-civil,caseflags-admin", | ||
"ReadOnly": "Y", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "challenged-access-admin", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,legal-adviser,caseworker-civil,caseflags-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
} | ||
] |
110 changes: 110 additions & 0 deletions
110
ccd-definition/RoleToAccessProfiles/RoleToAccessProfiles-CaseFlags-prod.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
[ | ||
{ | ||
"RoleName" : "leadership-judge", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "judge-profile,GS_profile", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "judge", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "judge-profile,GS_profile", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "specific-access-judiciary", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "judge-profile,caseworker-civil,GS_profile", | ||
"ReadOnly": "Y", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "challenged-access-judiciary", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,judge-profile,caseworker-civil", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "hearing-centre-admin", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,hearing-schedule-access", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "ctsc-team-leader", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "ctsc", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "nbc-team-leader", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "national-business-centre", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,caseworker-civil-admin,hearing-schedule-access", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "hearing-centre-team-leader", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,hearing-schedule-access,caseworker-civil-admin", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "specific-access-admin", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,legal-adviser,caseworker-civil", | ||
"ReadOnly": "Y", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
}, | ||
{ | ||
"RoleName" : "challenged-access-admin", | ||
"Authorisation": "", | ||
"CaseTypeID": "CIVIL", | ||
"AccessProfiles": "GS_profile,legal-adviser,caseworker-civil", | ||
"ReadOnly": "N", | ||
"Disabled": "F", | ||
"CaseAccessCategories": "" | ||
} | ||
] |
Oops, something went wrong.