Skip to content

[branch-2.9][cherry-pick] Fix producer/consume permission can’t get schema. - #17730

Merged
Technoboy- merged 2 commits into
apache:branch-2.9from
Technoboy-:cherry-pick-15956
Sep 20, 2022
Merged

[branch-2.9][cherry-pick] Fix producer/consume permission can’t get schema.#17730
Technoboy- merged 2 commits into
apache:branch-2.9from
Technoboy-:cherry-pick-15956

Conversation

@Technoboy-

Copy link
Copy Markdown
Contributor

Cherry-pick #15956.

Motivation

Currently, we need admin permissions to operate the schema API. This is because the admin permission was defined when the schema API was first added. See #1381.
Later, then adding authentication granularity with #6428, we don't change the schema API part. So leave the admin permission today.

But the binary protocol allows the produce/consume permission to get the schema, so change the related method permission to produce/consume.

Modifications

  • get schema need GET_METADATA permission

Documentation

  • doc-not-needed
    (Please explain why)

@Technoboy-
Technoboy- merged commit ce2c157 into apache:branch-2.9 Sep 20, 2022
@congbobo184 congbobo184 added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Nov 9, 2022
@Technoboy-
Technoboy- deleted the cherry-pick-15956 branch November 11, 2023 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/branch-2.9 Archived: 2.9 is end of life release/2.9.4

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants