k3s/pkg/auth/authorizer
Michal Rostecki fa0dd46ab7 Return (bool, error) in Authorizer.Authorize()
Before this change, Authorize() method was just returning an error,
regardless of whether the user is unauthorized or whether there
is some other unrelated error. Returning boolean with information
about user authorization and error (which should be unrelated to
the authorization) separately will make it easier to debug.

Fixes #27974
2016-07-18 12:06:54 +02:00
..
abac Return (bool, error) in Authorizer.Authorize() 2016-07-18 12:06:54 +02:00
union Return (bool, error) in Authorizer.Authorize() 2016-07-18 12:06:54 +02:00
interfaces.go Return (bool, error) in Authorizer.Authorize() 2016-07-18 12:06:54 +02:00