Skip to content
Snippets Groups Projects
Verified Commit 70938f46 authored by Hangzhi Yu's avatar Hangzhi Yu Committed by Jonathan Weth
Browse files

Add permission check to menu point

parent df092aa1
No related branches found
No related tags found
2 merge requests!27Resolve "Matrix parent menu point is shown even though the user has no permission to view it",!24Release 2.0
Pipeline #125149 failed
......@@ -14,6 +14,7 @@ Fixed
~~~~~
* The Matrix groups and rooms threw a 404 error.
* The Matrix parent menu point was displayed even though the user had no permission to see it.
`2.0b0` - 2023-02-23
--------------------
......
......@@ -3,6 +3,7 @@ export default {
inMenu: true,
titleKey: "matrix.menu_title",
icon: "mdi-forum-outline",
permission: "matrix.view_matrixrooms_rule",
},
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
......
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