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
+2 -2
View File
@@ -50,10 +50,10 @@ class KommunikationPlugin(BasePlugin):
],
is_core=True,
menu_items=[
FrontendMenuItem(label_key='nav.communication', label='Kommunikation', path='/communication', icon='MessageSquare', order=80),
FrontendMenuItem(label_key='nav.communication', label='Kommunikation', path='/communication', icon='MessageSquare', order=80, permission='comm:read'),
],
page_routes=[
FrontendPageRoute(path='/communication', component='@/pages/Communication', protected=True),
FrontendPageRoute(path='/communication', component='@/pages/Communication', protected=True, permission='comm:read'),
],
author="LeoCRM Team",
min_app_version="1.0.0",