mirror of https://github.com/portainer/portainer
fix(registries): can edit registries when --no-auth is set (#2763)
parent
90d3f3a358
commit
cc487ae68a
|
@ -7,7 +7,7 @@
|
||||||
<rd-header-content>Registry management</rd-header-content>
|
<rd-header-content>Registry management</rd-header-content>
|
||||||
</rd-header>
|
</rd-header>
|
||||||
|
|
||||||
<div class="row" ng-if="dockerhub && isAdmin">
|
<div class="row" ng-if="dockerhub && (!applicationState.application.authentication || isAdmin)">
|
||||||
<div class="col-sm-12">
|
<div class="col-sm-12">
|
||||||
<rd-widget>
|
<rd-widget>
|
||||||
<rd-widget-header icon="fa-database" title-text="DockerHub">
|
<rd-widget-header icon="fa-database" title-text="DockerHub">
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
title-text="Registries" title-icon="fa-database"
|
title-text="Registries" title-icon="fa-database"
|
||||||
dataset="registries" table-key="registries"
|
dataset="registries" table-key="registries"
|
||||||
order-by="Name"
|
order-by="Name"
|
||||||
access-management="applicationState.application.authentication && isAdmin"
|
access-management="!applicationState.application.authentication || isAdmin"
|
||||||
remove-action="removeAction"
|
remove-action="removeAction"
|
||||||
registry-management="registryManagementAvailable"
|
registry-management="registryManagementAvailable"
|
||||||
can-browse="canBrowse"
|
can-browse="canBrowse"
|
||||||
|
|
Loading…
Reference in New Issue