A small immutable record type used for permission policy edits. It stores the kind of edit, the subject identifier, an optional value, optional parent subjects, an effect integer, and a protection level.
namespace SboxSuperuser.Core.Permissions; internal sealed record PolicyEdit( PolicyEditKind Kind, string Subject, string Value = null, IReadOnlyList<string> Parents = null, int Effect = 0, int ProtectionLevel = 0 );