1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-16 07:09:44 +00:00

Enable access control

This commit is contained in:
Darren Shepherd
2017-12-18 13:56:50 -07:00
parent 830a21b54d
commit bfcad0d1b1
6 changed files with 55 additions and 21 deletions

View File

@@ -24,6 +24,7 @@ var (
ActionNotAvailable = ErrorCode{"ActionNotAvailable", 404}
InvalidState = ErrorCode{"InvalidState", 422}
ServerError = ErrorCode{"ServerError", 500}
PermissionDenied = ErrorCode{"PermissionDenied", 403}
MethodNotAllowed = ErrorCode{"MethodNotAllow", 405}
NotFound = ErrorCode{"NotFound", 404}