diff --git a/website/client/src/components/header/menu.vue b/website/client/src/components/header/menu.vue index 12bd9f8af7..d9d5958559 100644 --- a/website/client/src/components/header/menu.vue +++ b/website/client/src/components/header/menu.vue @@ -297,7 +297,7 @@
diff --git a/website/client/src/components/news/newsContent.vue b/website/client/src/components/news/newsContent.vue index ab80116430..1c3ecb507e 100644 --- a/website/client/src/components/news/newsContent.vue +++ b/website/client/src/components/news/newsContent.vue @@ -107,7 +107,7 @@ export default { if (lastPublishedPost) this.posts.push(lastPublishedPost); // If the user is authorized, show any draft - if (this.user && this.user.contributor.newsPoster) { + if (this.user && (this.user.permissions.news || this.user.permissions.fullAccess)) { this.posts.unshift( ...postsFromServer .filter(p => !p.published || moment().isBefore(p.publishDate)), diff --git a/website/client/src/router/index.js b/website/client/src/router/index.js index 538b4d6b26..241ecfb1c6 100644 --- a/website/client/src/router/index.js +++ b/website/client/src/router/index.js @@ -190,7 +190,6 @@ const router = new VueRouter({ meta: { privilegeNeeded: [ // any one of these is enough to give access 'userSupport', - 'newsPoster', ], }, children: [