Skip to content

Commit

Permalink
Give caseworkers delete permissions for service payment fee (#4136)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamg-hmcts authored Nov 14, 2024
1 parent 11c97a1 commit c9aa56f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import uk.gov.hmcts.ccd.sdk.type.ListValue;
import uk.gov.hmcts.ccd.sdk.type.YesOrNo;
import uk.gov.hmcts.divorce.divorcecase.model.access.CaseworkerAccessOnlyAccess;
import uk.gov.hmcts.divorce.divorcecase.model.access.CaseworkerDeleteAccess;
import uk.gov.hmcts.divorce.document.model.DivorceDocument;

import java.time.LocalDate;
Expand Down Expand Up @@ -106,7 +107,7 @@ public class AlternativeService {

@JsonUnwrapped(prefix = "servicePaymentFee")
@Builder.Default
@CCD(access = {CaseworkerAccessOnlyAccess.class})
@CCD(access = {CaseworkerAccessOnlyAccess.class, CaseworkerDeleteAccess.class})
private FeeDetails servicePaymentFee = new FeeDetails();

@CCD(
Expand Down

0 comments on commit c9aa56f

Please sign in to comment.