Code/SboxSuperuser/Core/Permissions/PolicyEdit.cs

A single record type in the permissions system. Describes one policy edit: the kind of change, the subject, an optional value, parent list, effect and 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 );