Add favicon, backup scheduler, backup API and templates, RBAC and migration updates

This commit is contained in:
markmorado
2026-03-08 11:40:41 +01:00
parent 7a77ffbd2b
commit 85aa59e7b6
12 changed files with 2500 additions and 5 deletions

View File

@@ -441,6 +441,13 @@ def _create_permissions() -> PermissionRegistry:
category="Backups",
requires=["backup:view"]
))
registry.register(Permission(
resource="backup", action="restore",
display_name="Restore Backups",
description="Restore VM/LXC from backups",
category="Backups",
requires=["backup:view"]
))
registry.register(Permission(
resource="backup", action="delete",
display_name="Delete Backups",
@@ -450,10 +457,10 @@ def _create_permissions() -> PermissionRegistry:
))
registry.register(Permission(
resource="backup", action="manage",
display_name="Restore Backups",
description="Restore from backups",
display_name="Manage Backups",
description="Manage storages and scheduled backup jobs",
category="Backups",
requires=["backup:view", "vm:create"]
requires=["backup:view"]
))
# IPAM permissions