fix(registries): can edit registries when --no-auth is set (#2763)

feat2901-introduce-backup
linquize 2019-07-21 07:48:59 +08:00 committed by Anthony Lapenna
parent 90d3f3a358
commit cc487ae68a
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<rd-header-content>Registry management</rd-header-content>
</rd-header>
<div class="row" ng-if="dockerhub && isAdmin">
<div class="row" ng-if="dockerhub && (!applicationState.application.authentication || isAdmin)">
<div class="col-sm-12">
<rd-widget>
<rd-widget-header icon="fa-database" title-text="DockerHub">
@ -74,7 +74,7 @@
title-text="Registries" title-icon="fa-database"
dataset="registries" table-key="registries"
order-by="Name"
access-management="applicationState.application.authentication && isAdmin"
access-management="!applicationState.application.authentication || isAdmin"
remove-action="removeAction"
registry-management="registryManagementAvailable"
can-browse="canBrowse"