1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(api): add restrictions for the files served by the API (#903)

This commit is contained in:
Anthony Lapenna 2017-05-29 22:10:36 +02:00 committed by GitHub
parent 5bf10b89b1
commit 5e74a3993b
2 changed files with 27 additions and 2 deletions

View file

@ -4,6 +4,7 @@ package portainer
const (
ErrUnauthorized = Error("Unauthorized")
ErrResourceAccessDenied = Error("Access denied to resource")
ErrResourceNotFound = Error("Unable to find resource")
ErrUnsupportedDockerAPI = Error("Unsupported Docker API response")
ErrMissingSecurityContext = Error("Unable to find security details in request context")
)