SboxSuperuser/Core/Permissions/ProtectionDecision.cs

A one-line record type in the SboxSuperuser permissions namespace. Carries the outcome of a permission check: whether an 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 );