namespace SIGCM2.Application.Usuarios.Permisos;

/// <summary>
/// UDT-009: Response DTO for user permissions.
/// Contains role permissions, explicit overrides, and computed effective permissions.
/// </summary>
public sealed record UsuarioPermisosDto(
    int UsuarioId,
    string Rol,
    IReadOnlyList<string> RolPermisos,
    IReadOnlyList<string> Grant,
    IReadOnlyList<string> Deny,
    IReadOnlyList<string> Effective);
