Skip to content

Commit

Permalink
fix authorize for write (#498)
Browse files Browse the repository at this point in the history
Co-authored-by: Hammerbeck <[email protected]>
  • Loading branch information
Andreass2 and Hammerbeck authored Nov 19, 2024
1 parent e9679a1 commit ca99267
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public class LegacyCorrespondenceOverviewExt : CorrespondenceOverviewExt
[JsonPropertyName("authorizedForSign")]
public bool AuthorizedForSign { get; set; }

/// <summary>
/// Indicates if the user is authorized to sign the correspondence
/// </summary>
[JsonPropertyName("authorizedForWrite")]
public bool AuthorizedForWrite { get; set; }

/// <summary>
/// The due date for the correspondence
/// </summary>
Expand Down

0 comments on commit ca99267

Please sign in to comment.