Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve][PIP] PIP-383: Support granting/revoking permissions for multiple topics #23355

Merged
merged 8 commits into from
Oct 8, 2024

Conversation

Technoboy-
Copy link
Contributor

Motivation

In AuthorizationProvider, the authorization interface grantPermissionAsync(TopicName topicName, Set<AuthAction> actions, String role, String authDataJson) currently only supports granting permissions to a single topic.
If multiple topics need to be authorized under a namespace, the client needs to call the authorization interface concurrently.
Since the permissions information are stored in the namespace-level policies, and multiple topics may be on different brokers, concurrent authorization will cause concurrent modification exceptions.
Therefore, supporting granting/revoking permissions for multiple topics is very friendly.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@Technoboy- Technoboy- self-assigned this Sep 26, 2024
@Technoboy- Technoboy- added this to the 4.0.0 milestone Sep 26, 2024
@github-actions github-actions bot added PIP doc-not-needed Your PR changes do not impact docs labels Sep 26, 2024
@Technoboy- Technoboy- changed the title [improve][PIP] PIP-383: : Support granting/revoking permissions for multiple topics [improve][PIP] PIP-383: Support granting/revoking permissions for multiple topics Sep 26, 2024
@Technoboy-
Copy link
Contributor Author

The vote has passed, merging.

@Technoboy- Technoboy- merged commit c598974 into apache:master Oct 8, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs PIP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants