A small record type in the SboxSuperuser permissions code. Holds the result of a protection check: whether the action is allowed, the actor's level, the target's level, and a reason string.
namespace SboxSuperuser.Core.Permissions; internal sealed record ProtectionDecision( bool IsAllowed, int ActorLevel, int TargetLevel, string Reason );