Skip to content
Snippets Groups Projects
Verified Commit 34ef43d1 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Add menu validator for "My groups"

parent cff25c97
No related branches found
No related tags found
1 merge request!49Resolve "Add rules and permissions"
Pipeline #3694 passed
......@@ -38,7 +38,12 @@ MENUS = {
"name": _("My groups"),
"url": "my_groups",
"icon": "people",
"validators": ["menu_generator.validators.is_authenticated"],
"validators": [
(
"aleksis.core.util.predicates.permission_validator",
"alsijil.view_my_groups",
),
],
},
{
"name": _("My overview"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment