Skip to content
Snippets Groups Projects
Commit f112ee35 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'master' into '855-search-bar-in-sidenav-is-sometimes-mistakenly-shown'

# Conflicts:
#   CHANGELOG.rst
parents cbe60a98 83f425bd
No related branches found
No related tags found
1 merge request!1249Resolve "Search bar in sidenav is sometimes mistakenly shown"
Pipeline #129187 failed
...@@ -13,6 +13,7 @@ Fixed ...@@ -13,6 +13,7 @@ Fixed
~~~~~ ~~~~~
* The search bar in the sidenav menu is shown even though the user has no permission to see it. * The search bar in the sidenav menu is shown even though the user has no permission to see it.
* Add permission check to accept invitation menu point in order to hide it when this feature is disabled.
`3.0`_ - 2022-05-11 `3.0`_ - 2022-05-11
------------------- -------------------
......
...@@ -54,6 +54,7 @@ const routes = [ ...@@ -54,6 +54,7 @@ const routes = [
icon: "mdi-key-outline", icon: "mdi-key-outline",
titleKey: "accounts.invitation.accept_invitation.menu_title", titleKey: "accounts.invitation.accept_invitation.menu_title",
validators: [notLoggedInValidator], validators: [notLoggedInValidator],
permission: "core.invite_enabled",
}, },
}, },
{ {
...@@ -956,14 +957,6 @@ const routes = [ ...@@ -956,14 +957,6 @@ const routes = [
invalidate: "leave", invalidate: "leave",
}, },
}, },
{
path: "/invitations/code/enter",
component: () => import("./components/LegacyBaseTemplate.vue"),
props: {
byTheGreatnessOfTheAlmightyAleksolotlISwearIAmWorthyOfUsingTheLegacyBaseTemplate: true,
},
name: "core.enter_invitation_code",
},
{ {
path: "/invitations/code/generate", path: "/invitations/code/generate",
component: () => import("./components/LegacyBaseTemplate.vue"), component: () => import("./components/LegacyBaseTemplate.vue"),
......
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