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

Require login for downloading data #283

Open
1 task
MillenniumFalconMechanic opened this issue Nov 21, 2024 · 0 comments
Open
1 task

Require login for downloading data #283

MillenniumFalconMechanic opened this issue Nov 21, 2024 · 0 comments
Assignees

Comments

@MillenniumFalconMechanic
Copy link
Collaborator

MillenniumFalconMechanic commented Nov 21, 2024

Need

  • A configurable "login required for downloading data" option is needed for prompting users to login before initiating a download. Specifically, a login-required popup is displayed on click of download if user is not authenticated and the "login required" flag is set for an app.

  • Login is not required to view pages that display download buttons (e.g. on the "Choose Export Method" page, login is only required on click of a download option not to view the actual page).

  • User should remain in the same flow as before login. For example:

    1. User navigates to entity download page.
    2. User clicks request curl command.
    3. System displays login modal.
    4. User logs in.
    5. curl command is requested.
  • The download actions that require authentication are:

    1. Direct file download (from files tab)
    2. Request curl Command (from cohort Choose Export Method)
    3. Request File Manifest (from cohort Choose Export Method)
    4. Analyze in Terra (from cohort Choose Export Method)
    5. Request curl Command (from cohort Download Selected Data Using "curl")
    6. Prepare Manifest (from cohort Request File Manifest)
    7. Request Link (from cohort Export to Terra)
    8. Metadata download and copy (from entity Metadata tab)
    9. File manifest download and copy (from entity Metadata tab)
    10. Matrices download and copy (from entity Matrices tab)
    11. Request curl Command (from entity Download tab)
    12. Request Link (from entity Export tab)

    Note: this list may require updating once Make the general and dataset-details Export panes consistent is completed.

  • No change is required to the regular login use case unless updates to existing implementation are required to facilitate reuse with this ticket's use case.

  • See design ticket for rationale and mock for implementation.

image

Approach

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

No branches or pull requests

3 participants