SboxSuperuser/Api/PermissionEffect.cs

Enum defining a permission policy effect: Unset, Deny, Allow. Used as the value of exact-key policy entries in the SboxSuperuser permission system.

namespace SboxSuperuser;

/// <summary>Exact-key policy entry; Unset removes an entry rather than granting access.</summary>
public enum PermissionEffect
{
	/// <summary>No explicit policy entry.</summary>
	Unset = 0,

	/// <summary>Explicit denial.</summary>
	Deny = 1,

	/// <summary>Explicit allowance, still subject to resolution and target protection.</summary>
	Allow = 2
}