From d5aa77bb7f489334e16f3531ad6ff7d6d2243208 Mon Sep 17 00:00:00 2001 From: Sag Date: Tue, 15 Oct 2024 12:19:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fixed=20missing=20'duplicate=20a?= =?UTF-8?q?=20post'=20feature=20for=20editors=20(#21304)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ref https://linear.app/tryghost/issue/ENG-1647 - as per [staff user definitions](https://ghost.org/docs/staff), an editor should be able to duplicate a post - this feature was missing from the right-click menu on post/page lists for editors --- .../components/posts-list/context-menu.hbs | 12 ++- ghost/admin/tests/acceptance/content-test.js | 74 +++++++++++++++++++ 2 files changed, 82 insertions(+), 4 deletions(-) diff --git a/ghost/admin/app/components/posts-list/context-menu.hbs b/ghost/admin/app/components/posts-list/context-menu.hbs index cb60862df8..aaf381b853 100644 --- a/ghost/admin/app/components/posts-list/context-menu.hbs +++ b/ghost/admin/app/components/posts-list/context-menu.hbs @@ -30,7 +30,7 @@ {{/if}} {{/if}} {{#if this.canFeatureSelection}} - {{#if this.shouldFeatureSelection }} + {{#if this.shouldFeatureSelection}}
  • {{/if}} {{/if}} +
  • + {{#if this.membersUtils.isMembersEnabled}}
  • {{/if}} - {{#if this.session.user.isAdmin}} - {{#if this.canCopySelection}} + + {{#if this.canCopySelection}}
  • - {{/if}} + {{/if}} + + {{#if this.session.user.isAdmin}}