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

[#5675] feat(auth): Chain authorization plugin (part-1) #5695

Closed
wants to merge 2 commits into from

Conversation

xunliu
Copy link
Member

@xunliu xunliu commented Nov 27, 2024

What changes were proposed in this pull request?

  1. Create an authorization chain module
  2. Add wildcardPropertyEntry in the AuthorizationPropertiesMeta.class
  3. Add UTs

Why are the changes needed?

Fix: #5675

Does this PR introduce any user-facing change?

N/A

How was this patch tested?

Add UTs.

@xunliu xunliu added the 0.8.0 Release v0.8.0 label Nov 27, 2024
@xunliu xunliu requested review from jerqi and mchades November 27, 2024 13:17
@xunliu xunliu self-assigned this Nov 27, 2024
@xunliu xunliu changed the title [#5675] feat(auth): Relational chained authorization plugin [#5675] feat(auth): Chain authorization plugin Nov 27, 2024
@xunliu xunliu force-pushed the issue-5675 branch 2 times, most recently from b087a97 to d501acc Compare November 28, 2024 03:23
@xunliu xunliu marked this pull request as draft November 28, 2024 03:56
@xunliu xunliu changed the title [#5675] feat(auth): Chain authorization plugin [#5675] feat(auth): Chain authorization plugin (part-1) Nov 28, 2024
@@ -64,7 +65,8 @@ private PropertyEntry(
Function<String, T> decoder,
Function<T, String> encoder,
boolean hidden,
boolean reserved) {
boolean reserved,
boolean wildcard) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you also need to update the javaDoc on the method.

The boolean parameter name wildcard is not quite suitable, suggest to use useWildcard, WDYT?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.8.0 Release v0.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Subtask] Relational chained authorization plugin
2 participants