mirror of
https://github.com/Quiq/docker-registry-ui.git
synced 2025-09-04 14:44:28 +00:00
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:
@@ -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}}
|
||||
|
Reference in New Issue
Block a user