discourse/app/assets/javascripts/admin/addon/templates/logs.hbs
Krzysztof Kotlarek 95564a3df2 SECURITY: Moderators cannot see user emails.
Unless `moderators_view_emails` SiteSetting is enabled, moderators should not be able to discover users’ emails.
2024-12-19 13:13:18 -03:00

28 lines
714 B
Handlebars

<AdminNav>
<NavItem
@route="adminLogs.staffActionLogs"
@label="admin.logs.staff_actions.title"
/>
{{#if this.currentUser.can_see_emails}}
<NavItem
@route="adminLogs.screenedEmails"
@label="admin.logs.screened_emails.title"
/>
{{/if}}
<NavItem
@route="adminLogs.screenedIpAddresses"
@label="admin.logs.screened_ips.title"
/>
<NavItem
@route="adminLogs.screenedUrls"
@label="admin.logs.screened_urls.title"
/>
<NavItem @route="adminSearchLogs" @label="admin.logs.search_logs.title" />
{{#if this.currentUser.admin}}
<NavItem @path="/logs" @label="admin.logs.logster.title" />
{{/if}}
</AdminNav>
<div class="admin-container">
{{outlet}}
</div>