22 lines
834 B
C#
22 lines
834 B
C#
namespace mws.backend.dotnet.application.Permissions;
|
|
|
|
public record ScreenDefinition(string Key, string Label, string Path);
|
|
|
|
public static class ScreenCatalog
|
|
{
|
|
public static readonly IReadOnlyList<ScreenDefinition> Screens =
|
|
[
|
|
new("dashboard", "Dashboard", "/"),
|
|
new("projects", "Projects", "/projects"),
|
|
new("tasks", "Tasks", "/tasks"),
|
|
new("documents", "Documents", "/documents"),
|
|
new("users", "Users", "/users"),
|
|
new("permissions", "Permissions", "/settings/permission"),
|
|
new("masterdata", "Master Data", "/settings/masterdata"),
|
|
new("actionlogs", "Action Logs", "/settings/actionlogs"),
|
|
new("loginlogs", "Login Logs", "/settings/loginlogs"),
|
|
];
|
|
|
|
public static readonly IReadOnlySet<string> Keys = Screens.Select(s => s.Key).ToHashSet();
|
|
}
|