mirror of
https://github.com/portainer/portainer.git
synced 2025-07-31 03:09:44 +02:00
fix docker pull limit not showed to non admin (#6066)
This commit is contained in:
parent
1157849b70
commit
cc3b1face2
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ func NewHandler(bouncer *security.RequestBouncer) *Handler {
|
||||||
h.Handle("/endpoints/{id}",
|
h.Handle("/endpoints/{id}",
|
||||||
bouncer.AdminAccess(httperror.LoggerHandler(h.endpointDelete))).Methods(http.MethodDelete)
|
bouncer.AdminAccess(httperror.LoggerHandler(h.endpointDelete))).Methods(http.MethodDelete)
|
||||||
h.Handle("/endpoints/{id}/dockerhub/{registryId}",
|
h.Handle("/endpoints/{id}/dockerhub/{registryId}",
|
||||||
bouncer.RestrictedAccess(httperror.LoggerHandler(h.endpointDockerhubStatus))).Methods(http.MethodGet)
|
bouncer.AuthenticatedAccess(httperror.LoggerHandler(h.endpointDockerhubStatus))).Methods(http.MethodGet)
|
||||||
h.Handle("/endpoints/{id}/extensions",
|
h.Handle("/endpoints/{id}/extensions",
|
||||||
bouncer.RestrictedAccess(httperror.LoggerHandler(h.endpointExtensionAdd))).Methods(http.MethodPost)
|
bouncer.RestrictedAccess(httperror.LoggerHandler(h.endpointExtensionAdd))).Methods(http.MethodPost)
|
||||||
h.Handle("/endpoints/{id}/extensions/{extensionType}",
|
h.Handle("/endpoints/{id}/extensions/{extensionType}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue