Skip to content

Commit

Permalink
SSCSCI-1046 (#3970)
Browse files Browse the repository at this point in the history
* SSCSCI-1046: Add case list filter options for IBA users

* SSCSCI-1046: Update auth case state tab

* SSCSCI-1046: Add role to access profile mapping

* Add CCD Diff

* Add CCD Diff

---------

Co-authored-by: Tom Elliott <tomelliott@Toms-MacBook-Pro.local>
Co-authored-by: Nitin Prabhu <142304341+nitinprabhuhmcts@users.noreply.github.com>
Co-authored-by: pats-john <13101669+pats-john@users.noreply.github.com>
Co-authored-by: Linus Norton <linusnorton@gmail.com>
  • Loading branch information
5 people authored Oct 9, 2024
1 parent fa989a7 commit 0637690
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 1 deletion.
67 changes: 67 additions & 0 deletions .github/workflows/ccd-diff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Diff CCD definition

on:
pull_request:
branches:
- master

jobs:

buildBranch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
path: build/branch
- uses: actions/upload-artifact@v3
with:
name: branch
path: build/branch/definitions/benefit/sheets/*

buildMaster:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
path: build/master
- uses: actions/upload-artifact@v3
with:
name: master
path: build/master/definitions/benefit/sheets/*

report:
runs-on: ubuntu-latest
needs: [buildBranch, buildMaster]
steps:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/download-artifact@v3
with:
name: branch
path: build/branch
- uses: actions/download-artifact@v3
with:
name: master
path: build/master
- name: Generate report
id: ccd-diff
run: |
REPORT="$(npx -q @hmcts/ccd-diff build/master build/branch)"
REPORT="${REPORT//'%'/'%25'}"
REPORT="${REPORT//$'\n'/'%0A'}"
REPORT="${REPORT//$'\r'/'%0D'}"
echo $REPORT
echo "::set-output name=content::$REPORT"
- name: Display
run: |
echo "${{ steps.ccd-diff.outputs.content }}"
- name: Add report
uses: thollander/actions-comment-pull-request@v1
with:
message: |
# CCD diff report
${{ steps.ccd-diff.outputs.content }}
comment_includes: CCD diff report
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,7 @@
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpState", "AccessProfile": "caseworker-sscs-systemupdate", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpState", "AccessProfile": "caseworker-sscs-registrar", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpState", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpState", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpSupplementaryResponseDoc", "AccessProfile": "caseworker-sscs-systemupdate", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "evidencePresent", "AccessProfile": "caseworker-sscs-systemupdate", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "generatedDOB", "AccessProfile": "caseworker-sscs-systemupdate", "CRUD": "CRUD"},
Expand Down Expand Up @@ -635,6 +636,7 @@
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "interlocWaiverInfo", "AccessProfile": "caseworker-sscs-superuser", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "appeal", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "appeal", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "appeal", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "relistingReason", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "relistingReason", "AccessProfile": "caseworker-sscs-judge", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "relistingReason", "AccessProfile": "caseworker-sscs-registrar", "CRUD": "CRUD"},
Expand Down Expand Up @@ -691,6 +693,7 @@
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpEditedEvidenceReasonLabel", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpFurtherEvidenceStates", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpFurtherEvidenceStates", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpFurtherEvidenceStates", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpLapseLetter", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpLT203", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpNoActionDoc", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "R"},
Expand Down Expand Up @@ -746,8 +749,10 @@
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "benefitCode", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "benefitCode", "AccessProfile": "caseworker-sscs-registrar", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "benefitCode", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "benefitCode", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "issueCode", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "issueCode", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "issueCode", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpOriginatingOffice", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpOriginatingOffice", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpPresentingOffice", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRU"},
Expand Down Expand Up @@ -1354,6 +1359,7 @@
{"LiveFrom": "01/12/2023", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingDateIssued", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRUD"},
{"LiveFrom": "01/12/2023", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingDateIssued", "AccessProfile": "caseworker-sscs-dwpresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/12/2023", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingDateIssued", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "01/12/2023", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingDateIssued", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "19/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingEpimsId", "AccessProfile": "caseworker-sscs-superuser", "CRUD": "CRUD"},
{"LiveFrom": "19/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingEpimsId", "AccessProfile": "caseworker-sscs-systemupdate", "CRUD": "CRUD"},
{"LiveFrom": "19/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingEpimsId", "AccessProfile": "caseworker-sscs", "CRUD": "CRUD"},
Expand All @@ -1373,6 +1379,7 @@
{"LiveFrom": "25/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "dwpIsOfficerAttending", "AccessProfile": "caseworker-sscs-registrar", "CRUD": "CRUD"},
{"LiveFrom": "25/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "dwpIsOfficerAttending", "AccessProfile": "caseworker-sscs-judge", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpIsOfficerAttending", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseFieldID": "dwpIsOfficerAttending", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRU"},
{"LiveFrom": "19/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingDate", "AccessProfile": "caseworker-sscs-dwpresponsewriter", "CRUD": "R"},
{"LiveFrom": "19/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "workBasketHearingEpimsId", "AccessProfile": "caseworker-sscs-dwpresponsewriter", "CRUD": "R"},
{"LiveFrom": "25/05/2022", "CaseTypeID": "Benefit", "CaseFieldID": "overrideFields", "AccessProfile": "caseworker-sscs-clerk", "CRUD": "CRUD"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,20 +82,26 @@
{"LiveFrom": "27/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "draftArchived", "AccessProfile": "caseworker-sscs-systemupdate", "CRUD": "CRUD"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "appealCreated", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "16/07/2019", "CaseTypeID": "Benefit", "CaseStateID": "appealCreated", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "R"},
{"LiveFrom": "16/07/2019", "CaseTypeID": "Benefit", "CaseStateID": "appealCreated", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "dormantAppealState", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "dormantAppealState", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CR"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "dormantAppealState", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CR"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "draft", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "incompleteApplication", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "incompleteApplicationInformationReqsted", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "interlocutoryReviewState", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "16/07/2019", "CaseTypeID": "Benefit", "CaseStateID": "interlocutoryReviewState", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "R"},
{"LiveFrom": "16/07/2019", "CaseTypeID": "Benefit", "CaseStateID": "interlocutoryReviewState", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "R"},
{"LiveFrom": "20/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "responseReceived", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "20/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "responseReceived", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "RU"},
{"LiveFrom": "20/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "responseReceived", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "RU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "validAppeal", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "validAppeal", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "RU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "validAppeal", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "RU"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "voidState", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "01/01/2018", "CaseTypeID": "Benefit", "CaseStateID": "withDwp", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "16/07/2019", "CaseTypeID": "Benefit", "CaseStateID": "withDwp", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "16/07/2019", "CaseTypeID": "Benefit", "CaseStateID": "withDwp", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CRUD": "CRUD"},
{"LiveFrom": "25/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "hearing", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "27/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "readyToList", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
{"LiveFrom": "25/06/2019", "CaseTypeID": "Benefit", "CaseStateID": "closed", "AccessProfile": "caseworker-sscs-pcqextractor", "CRUD": "R"},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@
"AccessProfiles": "caseworker,caseworker-sscs,caseworker-sscs-hmrcresponsewriter",
"Disabled": "N"
},
{
"LiveFrom": "18/03/2023",
"CaseTypeID": "Benefit",
"RoleName": "idam:caseworker-sscs-ibcaresponsewriter",
"CaseAccessCategories": "infectedBloodAppeal",
"Authorisation": "",
"ReadOnly": "N",
"AccessProfiles": "caseworker,caseworker-sscs,caseworker-sscs-ibcaresponsewriter",
"Disabled": "N"
},
{
"LiveFrom": "18/03/2023",
"CaseTypeID": "Benefit",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,20 @@
{"LiveFrom": "13/01/2022", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CaseFieldID": "workBasketHearingDate", "Label": "Hearing Date", "DisplayOrder": 19},
{"LiveFrom": "01/12/2023", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CaseFieldID": "workBasketHearingDateIssued", "Label": "Hearing Date Issued", "DisplayOrder": 20},
{"LiveFrom": "13/01/2022", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CaseFieldID": "workBasketHearingEpimsId", "Label": "Hearing Venue", "DisplayOrder": 21},
{"LiveFrom": "13/01/2022", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CaseFieldID": "hearingRoute", "Label": "Hearing Route", "DisplayOrder": 22}
{"LiveFrom": "13/01/2022", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-hmrcresponsewriter", "CaseFieldID": "hearingRoute", "Label": "Hearing Route", "DisplayOrder": 22},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "[CASE_REFERENCE]", "Label": "CCD case number", "DisplayOrder": 1},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "appeal", "ListElementCode": "appellant.name.lastName", "Label": "Appellant surname", "DisplayOrder": 2},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "dwpState", "Label": "FTA state", "DisplayOrder": 3},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "benefitCode", "Label": "Appeal code", "DisplayOrder": 4},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "issueCode", "Label": "Issue code", "DisplayOrder": 5},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "dwpFurtherEvidenceStates", "Label": "FTA evidence received state", "DisplayOrder": 6},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "isConfidentialCase", "Label": "Is a Confidential Case?", "DisplayOrder": 7},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "createdInGapsFrom", "Label": "Is a new digital case?", "DisplayOrder": 8},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "appeal", "ListElementCode": "hearingType", "Label": "Hearing type", "DisplayOrder": 9},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "tribunalDirectPoToAttend", "Label": "Tribunal direct PO to attend?", "DisplayOrder": 10},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "dwpIsOfficerAttending", "Label": "FTA recommend PO to attend?", "DisplayOrder": 11},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "poAttendanceConfirmed", "Label": "PO attendance confirmed?", "DisplayOrder": 12},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "workBasketHearingDate", "Label": "Hearing Date", "DisplayOrder": 13},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "workBasketHearingDateIssued", "Label": "Hearing Date Issued", "DisplayOrder": 14},
{"LiveFrom": "01/01/2024", "CaseTypeID": "Benefit", "AccessProfile": "caseworker-sscs-ibcaresponsewriter", "CaseFieldID": "workBasketHearingEpimsId", "Label": "Hearing Venue", "DisplayOrder": 15}
]

0 comments on commit 0637690

Please sign in to comment.