A small immutable record type used to represent a protection/permission decision. It stores whether an action is allowed, the actor and target protection levels, and a reason string.
namespace SboxSuperuser.Core.Permissions; internal sealed record ProtectionDecision( bool IsAllowed, int ActorLevel, int TargetLevel, string Reason );