Skip to content

Incorrect human readable messages from authorizer with non-empty group #13155

Closed

Description

@enj

The authorizer's messages put the group first (and none of its unit tests provide group info). It should be resource.group or maybe even resource.version.group.

Expected:
User "danny" cannot create subjectaccessreviews.authorization.k8s.io at the cluster scope

Actual:
User "danny" cannot create authorization.k8s.io.subjectaccessreviews at the cluster scope

xref: #13128

Activity

  1. changed the title [-]Incorrect human readible messages from authorizer with non-empty group[/-] [+]Incorrect human readable messages from authorizer with non-empty group[/+] on Mar 1, 2017
  2. enj commented on Mar 9, 2017

    @enj
    ContributorAuthor

    Drop MessageContext and use authorizer.Attributes directly?

    This would be a good place to handle #13286 (comment)

  3. enj commented on Mar 23, 2017

    @enj
    ContributorAuthor

    Fixed in #13451

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions