namespace MoonlightServers.Shared; public static class Permissions { public const string Prefix = "Permissions:MoonlightServers."; public static class Nodes { private const string Section = "Nodes"; public const string View = $"{Prefix}{Section}.{nameof(View)}"; public const string Edit = $"{Prefix}{Section}.{nameof(Edit)}"; public const string Create = $"{Prefix}{Section}.{nameof(Create)}"; public const string Delete = $"{Prefix}{Section}.{nameof(Delete)}"; } public static class Servers { private const string Section = "Servers"; public const string View = $"{Prefix}{Section}.{nameof(View)}"; public const string Edit = $"{Prefix}{Section}.{nameof(Edit)}"; public const string Create = $"{Prefix}{Section}.{nameof(Create)}"; public const string Delete = $"{Prefix}{Section}.{nameof(Delete)}"; } public static class Templates { private const string Section = "Templates"; public const string View = $"{Prefix}{Section}.{nameof(View)}"; public const string Edit = $"{Prefix}{Section}.{nameof(Edit)}"; public const string Create = $"{Prefix}{Section}.{nameof(Create)}"; public const string Delete = $"{Prefix}{Section}.{nameof(Delete)}"; } }