From 66c8e7a9e4b1568e6668f233f920c417ff113923 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Sat, 3 Nov 2018 23:07:47 +0100 Subject: [PATCH] Fix #597: Ensure admin links in sidebar are displayed for users with relavant permissions, and only them --- changes/changelog.d/597.bugfix | 1 + front/src/components/Sidebar.vue | 21 +-------------------- front/src/store/auth.js | 8 +++++++- 3 files changed, 9 insertions(+), 21 deletions(-) create mode 100644 changes/changelog.d/597.bugfix diff --git a/changes/changelog.d/597.bugfix b/changes/changelog.d/597.bugfix new file mode 100644 index 000000000..d12951322 --- /dev/null +++ b/changes/changelog.d/597.bugfix @@ -0,0 +1 @@ +Ensure admin links in sidebar are displayed for users with relavant permissions, and only them (#597) diff --git a/front/src/components/Sidebar.vue b/front/src/components/Sidebar.vue index 449238c2e..44813c6c9 100644 --- a/front/src/components/Sidebar.vue +++ b/front/src/components/Sidebar.vue @@ -76,18 +76,16 @@ class="item" :to="{name: 'content.index'}">Add content -
+
Administration