GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [fix][broker] Honor secondary tenant admin roles in HTTP admin requests by Denovo1998 · Pull Request #26911 · apache/pulsar Conversation
Contributor
MotivationWith Modifications
Verifying this change
This change added The test checks that a tenant-admin role appearing after the token's primary role can clear the backlog, while a role with only produce and consume permissions cannot truncate it. Run the regression test with: ./gradlew :pulsar-broker:test --tests "org.apache.pulsar.client.api.MultiRolesTokenAuthorizationProviderTest.testTruncateWithSecondaryTenantAdminRole" --max-workers=2 -PtestMaxParallelForks=1 -PtestRetryCount=0 Does this pull request potentially affect one of the following parts:
REST endpoints requiring tenant-admin access now recognize secondary tenant-admin roles in multi-role JWTs for direct HTTP requests.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
codelipenghui
approved these changes
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reviewed head f2eda18. The change correctly reuses the existing provider-aware tenant-admin authorization helper. No actionable findings identified within the reviewed scope. The inline test suggestion is optional and non-blocking. Local validation was blocked by sandbox permissions; please confirm the focused regression passes in CI before merging.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsUh oh!
There was an error while loading. Please reload this page. Uh oh!
There was an error while loading. Please reload this page.
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
…ts (apache#26911) (cherry picked from commit 3ad7e6e)
poorbarcode
pushed a commit
to poorbarcode/pulsar
that referenced
this pull request
…ts (apache#26911) (cherry picked from commit 3ad7e6e)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |