0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

🎨 Opened member email settings up to Administrator staff users

no issue

- previously only Owner staff users could access the email settings screens despite Administrators having server-side permissions to change the related settings
This commit is contained in:
Kevin Ansfield 2021-06-18 18:43:38 +01:00
parent 4961b35692
commit fc21cd836a
2 changed files with 0 additions and 6 deletions

View file

@ -47,7 +47,6 @@
<p>Access, subscription, and pricing options</p>
</div>
</LinkTo>
{{#if this.session.user.isOwner}}
<LinkTo class="gh-setting-group" @route="settings.members-email" data-test-nav="members-email">
<span class="yellow">{{svg-jar "email-stroke"}}</span>
<div>
@ -55,7 +54,6 @@
<p>Customize emails and set email addresses</p>
</div>
</LinkTo>
{{/if}}
</div>
<div class="gh-setting-header">Advanced</div>

View file

@ -17,8 +17,6 @@
</GhCanvasHeader>
<section class="view-container settings-debug">
{{#if this.session.user.isOwner}}
<div class="gh-setting-liquid-section">
<GhMembersEmailSetting
@fromAddress={{this.fromAddress}}
@ -29,8 +27,6 @@
@toggleEmailRecipientsExpansion={{this.toggleEmailRecipientsOpen}}
/>
</div>
{{/if}}
</section>
{{#if this.showLeaveSettingsModal}}