Implemented node crud and status health check. Added daemon status health endpoint. Refactored project structure. Added sidebar items and ui views
This commit is contained in:
15
MoonlightServers.Shared/Permissions.cs
Normal file
15
MoonlightServers.Shared/Permissions.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace MoonlightServers.Shared;
|
||||
|
||||
public static class Permissions
|
||||
{
|
||||
public const string Prefix = "Permissions:Servers.";
|
||||
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)}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user