legumeinfo / ArachisPheno

AraPheno source code for http://arapheno.1001genomes.org
MIT License
0 stars 0 forks source link

Authentication to access ArachisPheno site #6

Closed sdash-github closed 4 years ago

sdash-github commented 4 years ago

On April-08-2020, a week from today, there is a meeting with the researchers whose data we are using here. They have insisted to keep the data private until it is published (in future). But we need to share with them this utility. Can we have some kind of authenticated access ready for them before the meeting? Refer: #2
From the schema it looks like there is author, group and public access for studies. This could work for us too for this purpose. Or go the quick temporary way Andrew suggested in #2, "... use apache basic authentication (after we get it running via apache, that is)"

svengato commented 4 years ago

Is this the same issue as #2?

sdash-github commented 4 years ago

Issue #2 is definitely related and concerns the specific issue of keeping a dataset/study private vs. public.  It has nothing to do with accessing our ArachisPheno site.

This issue #6 is about controlling access to the site as a whole, so that only people whom we give permission can access the site.  If we can implement access control to a specific study, then control to the entire site becomes unnecessary. This is only a temporary and relatively easier measure in the absence of issue #2.

svengato commented 4 years ago

Got it.

svengato commented 4 years ago

Does each participant in the presentation need their own username, or will a single test account suffice?

sdash-github commented 4 years ago

Does each participant in the presentation need their own username, No, we don't plan to do that. A single guest account, no admin privilege, whose pw we can change would suffice for now. Thanks for asking.

svengato commented 4 years ago

Basic user authentication now works, I will send the username & password separately. Let me know if you encounter any problems.

To do (if desired/possible):

  1. For the login/logout pages, remove the Data-Tools-About-Links-FAQ-Logout options at upper right.
  2. Allow redirection to a page other than the home page.
sdash-github commented 4 years ago

Basic user authentication now works, I will send the username & password separately. Let me know if you encounter any problems. I can get in and get out without a problem. Thanks. Things are falling into place.