A small internal record describing one policy edit: the kind of change, its subject, optional value, parent rules, effect and protection level. Used as a data carrier by the permission system.
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 );