nav items declare their permission
This commit is contained in:
@@ -232,12 +232,14 @@ class NotificationsPlugin(BasePlugin):
|
||||
'name': 'Notifications',
|
||||
'icon': 'bell',
|
||||
'route': '/notifications',
|
||||
'permission': 'notifications.view',
|
||||
'position': 5,
|
||||
},
|
||||
{
|
||||
'name': 'Calendar',
|
||||
'icon': 'calendar',
|
||||
'route': '/calendar',
|
||||
'permission': 'notifications.view',
|
||||
'position': 6,
|
||||
},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user