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

Feat/passport #964

Merged
merged 279 commits into from
Jun 8, 2022
Merged

Feat/passport #964

merged 279 commits into from
Jun 8, 2022

Conversation

Avantol13
Copy link
Contributor

@Avantol13 Avantol13 commented Sep 22, 2021

We are merging chunks of this feature into this working branch and will do a merge into master once all features are complete here.

New Features

Breaking Changes

  • URL Signing when no_force_sign query param is provided: Previously Fence would make a decision based off if the data was public and no_force_sign provided. Fence will now NEVER sign if no_force_sign is provided (since the concept of "public" data has been abstracted out of Fence. Data access - public or not - is the sole responsibility of the policy engine). In other words, if no_force_sign is provided at the API level, Fence will respect that regardless of whether the resulting URL will actually work. The default Fence behavior should remain the same. feat(passport-exp): handle expiration edge cases [PXP-9235] #988

Bug Fixes

Improvements

Dependency updates

Deployment changes

@github-actions
Copy link

The style in this PR agrees with black. ✔️

This formatting comment was generated automatically by a script in uc-cdis/wool.

@coveralls
Copy link

coveralls commented Sep 22, 2021

Pull Request Test Coverage Report for Build 12534

  • 613 of 734 (83.51%) changed or added relevant lines in 19 files are covered.
  • 50 unchanged lines in 7 files lost coverage.
  • Overall coverage increased (+0.6%) to 72.711%

Changes Missing Coverage Covered Lines Changed/Added Lines %
fence/blueprints/ga4gh.py 6 7 85.71%
fence/resources/openid/idp_oauth2.py 0 1 0.0%
fence/models.py 58 61 95.08%
fence/sync/passport_sync/ras_sync.py 15 18 83.33%
fence/resources/storage/init.py 0 4 0.0%
fence/blueprints/login/ras.py 12 18 66.67%
fence/blueprints/data/indexd.py 74 81 91.36%
fence/scripting/fence_create.py 45 53 84.91%
fence/utils.py 1 11 9.09%
fence/resources/openid/ras_oauth2.py 50 62 80.65%
Files with Coverage Reduction New Missed Lines %
fence/blueprints/login/ras.py 2 80.39%
fence/resources/admin/admin_projects.py 2 79.41%
fence/scripting/fence_create.py 2 57.58%
fence/sync/passport_sync/ras_sync.py 2 86.49%
fence/job/visa_update_cronjob.py 6 87.91%
fence/resources/userdatamodel/userdatamodel_project.py 9 59.26%
fence/sync/sync_users.py 27 74.13%
Totals Coverage Status
Change from base Build 12501: 0.6%
Covered Lines: 6805
Relevant Lines: 9359

💛 - Coveralls

@Avantol13 Avantol13 marked this pull request as draft October 13, 2021 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants