diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 9fa90256b307f51641b19dbd67ae8ebd20c67094..58f194b20aa6401680edab8405391885e40e9aa5 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -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 -------------------- diff --git a/aleksis/apps/matrix/frontend/index.js b/aleksis/apps/matrix/frontend/index.js index 6113a6007b9b6ea53460fd6ee1af3a6149e30606..ff493905a446972feb8ea0bc270d5e809e7cc36c 100644 --- a/aleksis/apps/matrix/frontend/index.js +++ b/aleksis/apps/matrix/frontend/index.js @@ -3,6 +3,7 @@ export default { inMenu: true, titleKey: "matrix.menu_title", icon: "mdi-forum-outline", + permission: "matrix.view_matrixrooms_rule", }, props: { byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,