-
Notifications
You must be signed in to change notification settings - Fork 48
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
PXP-6240 Support ga4gh passport claim in userinfo #792
Conversation
The style in this PR agrees with This formatting comment was generated automatically by a script in uc-cdis/wool. |
Pull Request Test Coverage Report for Build 9211
💛 - Coveralls |
This pull request introduces 1 alert when merging fc9ea95 into 6c89664 - view on LGTM.com new alerts:
|
@@ -128,6 +129,16 @@ def get_user_info(current_session, username): | |||
optional_info = _get_optional_userinfo(user, requested_userinfo_claims) | |||
info.update(optional_info) | |||
|
|||
# Include ga4gh passport visas | |||
# TODO: Respect access token claims (only include if ga4gh_passport_v1 scope present) |
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.
why not do this right away?
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.
[discussed offline; for posterity:] No deliberate reason, but I haven't done it yet 🤷
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.
I think we'll do this in a future sprint (separate PR) - since we'd like to merge visas ASAP.
fc9ea95
to
5dba7b4
Compare
@@ -534,6 +534,27 @@ class ServiceAccountToGoogleBucketAccessGroup(Base): | |||
) | |||
|
|||
|
|||
class GA4GHVisaV1(Base): |
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.
@Avantol13 are we happy with these fields? I guess we can always add more later, but these are all the fields I specified in the design doc so far.
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.
LGTM
This pull request introduces 1 alert when merging 5dba7b4 into c4e3114 - view on LGTM.com new alerts:
|
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.
lgtm too
(This needs to be rebased--currently branched off RAS IDP branch. To review, just select the last few commits in the differ)(Not actually doc-only, but want to skip tests until rebase is done)New Features