Giter VIP home page Giter VIP logo

globus-sample-data-portal's People

Contributors

corpulentcoffee avatar elijah-scott avatar jarofmy avatar jaswilli avatar jbottigliero avatar sirosen avatar tuecke avatar vasv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

globus-sample-data-portal's Issues

Trouble running transfer using sample MRDP at https://mrdp.globus.org/

I have run the example MRDP: https://mrdp.globus.org/ before and successfully transferred data, even just a couple of weeks ago. However, yesterday I started to experience a problem in my own MRDP and wanted to confirm things were still working in the Globus example.
So today, I visit: https://mrdp.globus.org/ and attempt a transfer of one of the airport collections. After clicking Transfer, I am redirected to the Globus page to choose my endpoint. I access my endpoint and I see the "Submit" button, which appears active, but is not. I cannot click on it and there is no way now for me to start up the transfer. This is the same behavior I started to experience with my own MRDP starting yesterday afternoon.
I've been in touch with Kyle Chard who mentioned he noticed there may have been an error on the Globus end, but I dont' have any more details beyond that. Are there any known issues? Does the Globus MRDP https://mrdp.globus.org/ example work for others currently?

Deleted client secrets

I accidentally deleted most of the client secrets associated with the Auth registration for the Sample Data Portal App. You are probably going to need to generate a new secret, and update the config for the app with this new secret.

ImportError: cannot import name 'escape' from 'jinja2'

OS: Windows 10
Python version: 3.10.0

Traceback (most recent call last):
  File "C:\Users\elmim\dev\globus-sample-data-portal\run_portal.py", line 3, in <module>
    from portal import app
  File "C:\Users\elmim\dev\globus-sample-data-portal\portal\__init__.py", line 1, in <module>
    from flask import Flask
  File "C:\Users\elmim\dev\globus-sample-data-portal\venv\lib\site-packages\flask\__init__.py", line 14, in <module>
    from jinja2 import escape
ImportError: cannot import name 'escape' from 'jinja2' (C:\Users\elmim\dev\globus-sample-data-portal\venv\

Updating Flask in requirements.txt to version 2.1.x fixes this issue.

Get or set up shared endpoints for the datasets

  • Shared endpoint where datasets will be stored.
  • Shared endpoint where datasets and transformed datasets will be copied.
  • Need identity credentials for an access manager so the server can set an ACL

Are we going to use one of the tutorial endpoints (go#ep1/2) or some other endpoint?

Switch from using a Globus ID identity to a registered client application identity for privileged calls

In the future, Globus Auth will support treating a registered client application as a first-class identity via a username/password-style grant using the client ID and client secret.

Today, the demo portal uses refresh tokens to make API calls as a privileged Globus ID identity ([email protected]). Once this functionality becomes available in Globus Auth, we should switch the demo application over to it.

  • enable/register the client identity in Globus Auth, if needed
  • remove Access Manager rights from [email protected] on the Globus Tutorial HTTPS Server Endpoint and add the new client application identity (this will be something like [email protected])
  • remove the refresh token-based method of obtained a portal identity access token and replace it with a client_credentials grant-based method
  • move and rephrase the sensitive data warning introduced by #54 to wherever we store client secrets in the repository, e.g. portal/auth.json, service/service.conf

is the Globus sample data portal working currently?

Hi, We have based our data portal on the Globus Modern Research data portal, it's actually listed on your website as an example: https://docs.globus.org/guides/recipes/modern-research-data-portal/ It's the LSSTDESC portal, and actually the link is now data.lsstdesc.org, the current link on your webpage is no longer available.

Anyway, since late 2023, perhaps due to the move to Globus Collection v5, our data portal is no longer able to successfully transfer data. Our endpoint was migrated to a v5 Collection and it is working just fine outside of the portal. I went back to this repo hoping to find some direction on what needs to be fixed and reran the Globus Sample Data Portal https://mrdp.globus.org/ I see the same error "Internal error" here too no matter what destination collection I use. The collections work just fine outside of the sample data portal. Below is a screen shot of what I see when I click transfer:

image

Is this sample data portal working for everyone else or is there an update that needs to be made? I've been assuming a change needs to happen in declaring the scope.

Any suggestions appreciated!

Different permissions for different datasets

I have deployed a Globus Data Portal (https://github.com/zonca/cmb-s4-data-portal/) to Spin at NERSC based on the LSST data portal.

I configured the endpoint via the Globus web app so that all users have access just to 1 subfolder, while members of a specific Globus group have also access to another subfolder.

If I access the Endpoint directly from app.globus.org, permissions work fine, the general user cannot see the member only folder.

However, the globus data portal allows the user to browse and even transfer data from the folder that should be forbidden.

Can you please help me understand the issue?

Resource Server getting started items

Things we need:

  • Client registration
    • Does a resource server need a redirect_uri? If so, https://localhost:5100/. (answer: it does not).
    • A name. GlobusWorld Resource Server?
    • Its own scope: urn:globus:auth:scope:demo-resource-server:all
    • Client/dependent scope on urn:globus:auth:scope:transfer.api.globus.org:all and urn:globus:auth:scope:tutorial-https-endpoint.globus.org:all (any others?)
  • A refresh token from either its own identity or the identity we're using on the MRDP app.
  • Its scope (urn:globus:auth:scope:demo-resource-server:all) needs to be whitelisted for all clients.

Other things?

/cc @sirosen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.