| | | 1 | | using ArturRios.Mediator.Command; |
| | | 2 | | |
| | | 3 | | namespace ArturRios.Heimdall.Command.Input; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// Intent to permanently (hard) delete a scope permission (UC-35). The permission is addressed by |
| | | 7 | | /// <see cref="Id" /> within <see cref="ScopeId" />, both bound from the route. Removing it |
| | | 8 | | /// cascades to nothing — no entity carries a foreign key to a scope permission, and the scope it |
| | | 9 | | /// points at is left intact. The command carries no acting person: UC-35's only actor is the |
| | | 10 | | /// System Admin and the endpoint's role requirement settles that entirely, so the handler has no |
| | | 11 | | /// data-dependent rule left to apply. |
| | | 12 | | /// </summary> |
| | | 13 | | public class HardDeleteScopePermissionCommand : BaseCommand |
| | | 14 | | { |
| | | 15 | | /// <summary>Public identifier of the scope the permission belongs to (bound from the route).</summary> |
| | 30 | 16 | | public Guid ScopeId { get; set; } |
| | | 17 | | |
| | | 18 | | /// <summary>Public identifier of the permission to hard-delete (bound from the route).</summary> |
| | 31 | 19 | | public Guid Id { get; set; } |
| | | 20 | | } |