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:
@@ -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}
|
||||
|
Reference in New Issue
Block a user