FIX: Hide publish_read_state option from non-admin users (#10148)

This commit is contained in:
David Taylor 2020-06-30 16:49:04 +01:00 committed by GitHub
parent fc8e842773
commit 4db9f7bb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,7 @@
}} }}
</div> </div>
{{#if currentUser.admin}}
<div class="control-group"> <div class="control-group">
<label> <label>
{{input type="checkbox" {{input type="checkbox"
@ -71,6 +72,7 @@
{{i18n "admin.groups.manage.interaction.publish_read_state"}} {{i18n "admin.groups.manage.interaction.publish_read_state"}}
</label> </label>
</div> </div>
{{/if}}
{{#if showEmailSettings}} {{#if showEmailSettings}}
<div class="control-group"> <div class="control-group">