-
I wanna make menu hidden to some users. In Readme.md, it is possible by defining some perms (OR condition) like below. { 'type': 'title', 'label': 'main', 'perms': ('auth.add_user', ) }, but i can't understand how to do it with this example. Thank you. |
Beta Was this translation helpful? Give feedback.
Answered by
abidibo
Nov 23, 2021
Replies: 1 comment
-
Hi @fromhans the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abidibo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @fromhans the
perms
key in the menu item configuration lets you define a list of permissions. In order to view the menu item the logged in use should have at least one of those permissions. Nothing more than that.