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:
parent
5bf10b89b1
commit
5e74a3993b
2 changed files with 27 additions and 2 deletions
|
@ -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")
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue