Implemented template crud, db entities, import/export, ptero and pelican import
This commit is contained in:
@@ -2,7 +2,8 @@ namespace MoonlightServers.Shared;
|
||||
|
||||
public static class Permissions
|
||||
{
|
||||
public const string Prefix = "Permissions:Servers.";
|
||||
public const string Prefix = "Permissions:MoonlightServers.";
|
||||
|
||||
public static class Nodes
|
||||
{
|
||||
private const string Section = "Nodes";
|
||||
@@ -12,4 +13,24 @@ public static class Permissions
|
||||
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)}";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user