• k8s-merge-robot's avatar
    Merge pull request #28281 from nhlfr/authorize-return-bool · 8d46d9b0
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    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
    8d46d9b0
Name
Last commit
Last update
..
authenticator Loading commit data...
authorizer Loading commit data...
handlers Loading commit data...
user Loading commit data...
OWNERS Loading commit data...