This repository was archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 142
Use pulsar AuthorizationService to authorize #989
Merged
BewareMyPower
merged 5 commits into
streamnative:master
from
Demogorgon314:fix/authorize-with-superusers
Dec 29, 2021
Merged
Use pulsar AuthorizationService to authorize #989
BewareMyPower
merged 5 commits into
streamnative:master
from
Demogorgon314:fix/authorize-with-superusers
Dec 29, 2021
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Member
Author
|
I split some of these changes to the #991, when another PR is merged, I'll mark this PR ready for review. |
a47599a to
3880bba
Compare
Collaborator
BewareMyPower
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test to verify a super user that is not configured in superUserRoles has the permission to produce or consume?
Member
Author
|
@BewareMyPower Test has been added. Please take a look again. |
BewareMyPower
approved these changes
Dec 29, 2021
Collaborator
|
When I cherry-picked this PR into branch-2.8.2, a conflict happened. Please help resolve the conflict. After cherry-picking successfully and pushing to branch-2.8.2, please add the |
BewareMyPower
pushed a commit
that referenced
this pull request
Dec 29, 2021
### Motivation The current implementation of authorizing is using Pulsar's default authorization provider. For future maintenance, we better use the `AuthorizationService`. because not all users want to use Pulsar's default authorization provider. ### Modifications 1. Split CREATE, DELETE and ALTER. 2. Use `AuthorizationService` instead of Self-implementation authorization.
Demogorgon314
added a commit
that referenced
this pull request
Dec 30, 2021
### Motivation The current implementation of authorizing is using Pulsar's default authorization provider. For future maintenance, we better use the `AuthorizationService`. because not all users want to use Pulsar's default authorization provider. ### Modifications 1. Split CREATE, DELETE and ALTER. 2. Use `AuthorizationService` instead of Self-implementation authorization. (cherry picked from commit c0c1e48)
michaeljmarshall
pushed a commit
to michaeljmarshall/kop
that referenced
this pull request
Dec 13, 2022
The current implementation of authorizing is using Pulsar's default authorization provider. For future maintenance, we better use the `AuthorizationService`. because not all users want to use Pulsar's default authorization provider. 1. Split CREATE, DELETE and ALTER. 2. Use `AuthorizationService` instead of Self-implementation authorization. (cherry picked from commit c0c1e48)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
The current implementation of authorizing is using Pulsar's default authorization provider. For future maintenance, we better use the
AuthorizationService. because not all users want to use Pulsar's default authorization provider.Modifications
AuthorizationServiceinstead of Self-implementation authorization.