Implemented theme crud and basic theme loading
This commit is contained in:
@@ -34,6 +34,12 @@ public sealed class PermissionProvider : IPermissionProvider
|
||||
new Permission(Permissions.ApiKeys.Edit, "Edit", "Edit API key details"),
|
||||
new Permission(Permissions.ApiKeys.Delete, "Delete", "Delete API keys"),
|
||||
]),
|
||||
new PermissionCategory("Themes", typeof(PaintRollerIcon), [
|
||||
new Permission(Permissions.Themes.Create, "Create", "Create new theme"),
|
||||
new Permission(Permissions.Themes.View, "View", "View all themes"),
|
||||
new Permission(Permissions.Themes.Edit, "Edit", "Edit themes"),
|
||||
new Permission(Permissions.Themes.Delete, "Delete", "Delete themes"),
|
||||
]),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user