-
Notifications
You must be signed in to change notification settings - Fork 157
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
feat: support configuration to include transient group ownership during auth #2210
base: main
Are you sure you want to change the base?
feat: support configuration to include transient group ownership during auth #2210
Conversation
a8f8f40
to
e31bb50
Compare
The image is available at: |
73c4e8d
to
99b83e0
Compare
The image is available at: |
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.
Overall, it looks fairly good to me. A couple of requests / questions from me.
- Could you add some docs here. That way we have something for the docs team to reference.
- I know there was an issue with large tokens, I believe that it had something to do with ownership refs, is that still a problem today?
Also, I did run into an infinite loop while testing that I think might be worth addressing. I tested with a user that had cyclic behavior in the group memberships, something like user -> group_a <=> group_b
99b83e0
to
0281d34
Compare
@PatAKnight Thank you very much for the review! I've addressed your feedback, PTAL :)
I'm not too familiar with this issue, the only thing I found was this and it looks like it's been resolved in 1.3 👍 |
0281d34
to
19fce4d
Compare
The image is available at: |
Signed-off-by: Jessica He <[email protected]>
19fce4d
to
5cf91f7
Compare
The image is available at: |
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.
Tested and it worked for me.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PatAKnight The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
InheritedGroupOwnershipResolver
to provide the ability to add optionally transient parent groups into the resolved user group membershipincludeInheritedGroupOwnership?: boolean
AuthProviderModule
andInheritedGroupOwnershipResolver
With
includeTransientGroupOwnership
to true:maintainers
group which is a parent ofmaintainers-plugins
andmaintainers-showcase
With
includeTransientGroupOwnership
to false (by default):Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete: