feat(c1): permission fields on frontend menu items and page routes + manifest migration for all plugins
Check Cross-Plugin Imports / check (push) Has been cancelled

This commit is contained in:
Agent Zero
2026-08-23 21:59:22 +02:00
parent 8a76bfdba4
commit 5e9be254e2
10 changed files with 36 additions and 17 deletions
@@ -27,10 +27,10 @@ class ReportGeneratorPlugin(BasePlugin):
migrations=["0001_initial.sql", "0002_reports_folder_id.sql"],
permissions=["reports:read", "reports:generate", "reports:manage_templates"],
menu_items=[
FrontendMenuItem(label_key='nav.reports', label='Berichte', path='/reports', icon='BarChart3', order=70),
FrontendMenuItem(label_key='nav.reports', label='Berichte', path='/reports', icon='BarChart3', order=70, permission='reports:read'),
],
page_routes=[
FrontendPageRoute(path='/reports', component='@/pages/Reports', protected=True),
FrontendPageRoute(path='/reports', component='@/pages/Reports', protected=True, permission='reports:read'),
],
author="LeoCRM Team",