We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0918ad3 commit 22e01d2Copy full SHA for 22e01d2
api/user/RbacRoleRestHandler.go
@@ -70,7 +70,7 @@ func (handler *RbacRoleRestHandlerImpl) GetAllDefaultRoles(w http.ResponseWriter
70
}
71
72
if !isAuthorized {
73
- common.WriteJsonResp(w, errors.New("unauthorized"), nil, http.StatusUnauthorized)
+ common.WriteJsonResp(w, errors.New("unauthorized"), nil, http.StatusForbidden)
74
return
75
76
0 commit comments