Add anyone_can_view_events option (#59)

Makes it possible to restrict access to the event log to the configured
list of admins.
This commit is contained in:
Rob Best
2022-09-02 14:52:59 +01:00
committed by GitHub
parent 2aa58fc9ba
commit b5e11aae10
4 changed files with 43 additions and 6 deletions

View File

@@ -20,6 +20,7 @@
<li class="active">Event Log</li>
</ol>
{{if eventsAllowed}}
<table id="datatable" class="table table-striped table-bordered">
<thead bgcolor="#ddd">
<tr>
@@ -46,4 +47,9 @@
{{end}}
</tbody>
</table>
{{else}}
<div class="text-center">
<h4>User "{{user}}" is not permitted to view the Event Log.</h4>
</div>
{{end}}
{{end}}