Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
This commit is contained in:
@@ -110,7 +110,7 @@ func NotTestAuthorize(t *testing.T) {
|
||||
{User: uChuck, RO: true, Resource: "pods", NS: "ns1", ExpectAllow: false},
|
||||
{User: uChuck, RO: true, Resource: "floop", NS: "ns1", ExpectAllow: false},
|
||||
// Chunk can't access things with no kind or namespace
|
||||
// TODO: find a way to give someone access to miscelaneous endpoints, such as
|
||||
// TODO: find a way to give someone access to miscellaneous endpoints, such as
|
||||
// /healthz, /version, etc.
|
||||
{User: uChuck, RO: true, Resource: "", NS: "", ExpectAllow: false},
|
||||
}
|
||||
|
@@ -24,7 +24,7 @@ import (
|
||||
// that is used to make an authorization decision.
|
||||
type Attributes interface {
|
||||
// The user string which the request was authenticated as, or empty if
|
||||
// no authentication occured and the request was allowed to proceed.
|
||||
// no authentication occurred and the request was allowed to proceed.
|
||||
GetUserName() string
|
||||
|
||||
// The list of group names the authenticated user is a member of. Can be
|
||||
|
Reference in New Issue
Block a user