diff --git a/src/Altinn.Correspondence.API/Mappers/LegacyCorrespondenceOverviewMapper.cs b/src/Altinn.Correspondence.API/Mappers/LegacyCorrespondenceOverviewMapper.cs index b64ee668..d4a322fd 100644 --- a/src/Altinn.Correspondence.API/Mappers/LegacyCorrespondenceOverviewMapper.cs +++ b/src/Altinn.Correspondence.API/Mappers/LegacyCorrespondenceOverviewMapper.cs @@ -41,6 +41,7 @@ internal static LegacyCorrespondenceOverviewExt MapToExternal(LegacyGetCorrespon Confirmed = correspondenceOverview.Confirmed, MinimumAuthenticationLevel = correspondenceOverview.MinimumAuthenticationLevel, AuthorizedForSign = correspondenceOverview.AuthorizedForSign, + AuthorizedForWrite = correspondenceOverview.AuthorizedForWrite, InstanceOwnerPartyId = correspondenceOverview.InstanceOwnerPartyId }; return Correspondence; diff --git a/src/Altinn.Correspondence.API/Models/LegacyCorrespondenceOverviewExt.cs b/src/Altinn.Correspondence.API/Models/LegacyCorrespondenceOverviewExt.cs index c5e7931f..314ba588 100644 --- a/src/Altinn.Correspondence.API/Models/LegacyCorrespondenceOverviewExt.cs +++ b/src/Altinn.Correspondence.API/Models/LegacyCorrespondenceOverviewExt.cs @@ -21,6 +21,12 @@ public class LegacyCorrespondenceOverviewExt : CorrespondenceOverviewExt [JsonPropertyName("authorizedForSign")] public bool AuthorizedForSign { get; set; } + /// + /// Indicates if the user is authorized to sign the correspondence + /// + [JsonPropertyName("authorizedForWrite")] + public bool AuthorizedForWrite { get; set; } + /// /// The due date for the correspondence ///