yavsc/src/Yavsc.Abstract/Identity/Security/CircleAuthorization.cs

17 lines
664 B
C#
Raw Normal View History

2026-08-19 14:09:31 +01:00
namespace Yavsc.Abstract.Identity.Security;
2026-08-17 23:50:35 +01:00
/// <summary>
/// Wire format for <c>GET /api/blogacl</c> and friends.
///
/// <para>The server-side
/// <c>Yavsc.Models.Access.CircleAuthorizationToBlogPost</c> EF entity
/// carries virtual navigation properties (<c>Target</c>,
/// <c>Allowed</c>) that pull in the full BlogPost and Circle graphs.
/// The client never needs them: when showing the ACL of a post, the
/// UI already has the post, and the circles are looked up by id
/// against the list returned by <c>GET /api/circle</c>.</para>
/// </summary>
2026-08-19 14:09:31 +01:00
public sealed class CircleAuthorization : ICircleAuthorization
2026-08-17 23:50:35 +01:00
{
public long CircleId { get; set; }
}