reanahub / reana-ui

REANA UI frontend
http://reana-ui.rtfd.io
MIT License
4 stars 33 forks source link

ui: user token creation through request/approval process #93

Closed mvidalgarcia closed 4 years ago

mvidalgarcia commented 4 years ago

ui

server

Tightly related to https://github.com/reanahub/reana-server/issues/235

tiborsimko commented 4 years ago

Ad 2, we can do it for everybody, not only for social logins.

The message would go like:

Welcome to REANA!

It seems that this is your first login to REANA. In order to use the system,
you need to ask for an access token.

      [ Request token ]

After people click on the "Request token" button, we can show something like:

Welcome to REANA!

Your access token request has been forwarded to REANA administrators.

Action: requested access token
Date: YYYY-MM-DD HH:MM:SS
Status: pending

After admins approve the person, we can display the usual message:

Welcome to REANA!

Your access token is aaabbb111333.

It seems that you have not run any workflows yet.  Would you like 
to run a first reproducible analysis example? Please proceed
as follows:

    $ ssh lxplus 
    ...
    $ git clone
    ...
    $ reana-client run
    ...

P.S. For people using REANA from outside of CERN, we'd also have to point to pip install example, not only to ssh lxplus example, on how to get the reana-client CLI executable.

mvidalgarcia commented 4 years ago

Some mockups:

Before requesting token: image

After requesting token: image