Merge pull request #70314 from samdamana/auth-revert

Revert "limit forbidden error to details of what was forbidden"
This commit is contained in:
k8s-ci-robot
2018-10-29 17:11:27 -07:00
committed by GitHub
5 changed files with 4 additions and 6 deletions

View File

@@ -175,7 +175,7 @@ func TestStatus(t *testing.T) {
statusCode: http.StatusForbidden,
reqPath: "/apis",
reason: "Forbidden",
message: `forbidden: User "" cannot get path "/apis"`,
message: `forbidden: User "" cannot get path "/apis": Everything is forbidden.`,
},
{
name: "401",