| | | 1 | | using System.Text.Json.Serialization; |
| | | 2 | | using ArturRios.Heimdall.Shared.Security; |
| | | 3 | | using ArturRios.Mediator.Command; |
| | | 4 | | |
| | | 5 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 6 | | |
| | | 7 | | /// <summary> |
| | | 8 | | /// A data subject's request to have processing of their own identity restricted (UC-44, GDPR |
| | | 9 | | /// Art. 18, LGPD Art. 18 III–IV) — suspended without being deleted, while something about it is |
| | | 10 | | /// disputed. |
| | | 11 | | /// </summary> |
| | | 12 | | /// <remarks> |
| | | 13 | | /// The subject is the authenticated caller. No identifier appears in the path or the body, so |
| | | 14 | | /// one identity cannot restrict another's — the same shape as UC-41 and UC-42. |
| | | 15 | | /// </remarks> |
| | | 16 | | public class RestrictProcessingCommand : BaseCommand, IActorScoped |
| | | 17 | | { |
| | | 18 | | /// <summary> |
| | | 19 | | /// Which of Art. 18(1)'s four grounds the restriction rests on (see |
| | | 20 | | /// <c>RestrictionGrounds</c>). |
| | | 21 | | /// </summary> |
| | 38 | 22 | | public int Ground { get; set; } |
| | | 23 | | |
| | | 24 | | [JsonIgnore] |
| | 21 | 25 | | public Guid ActingPersonId { get; set; } |
| | | 26 | | |
| | | 27 | | [JsonIgnore] |
| | 10 | 28 | | public int ActingRole { get; set; } |
| | | 29 | | } |