Looks like BYPASS_TETHYS_HOME_PAGE = True is not working in Tethys 1.2

14 views
Skip to first unread message

zyli2004

unread,
Sep 4, 2015, 6:22:47 PM9/4/15
to Tethys Platform

I set BYPASS_TETHYS_HOME_PAGE = True on appsdev.hydroshare.org, but the home page is still there...

Nathan Swain

unread,
Sep 5, 2015, 1:49:20 PM9/5/15
to zyli2004, Tethys Platform
I just tested it on demo.tethysplatform.org and it seems to be working. Check for correct spelling. Also check to make sure that it isn't defined again later in the settings.py file setting it back to False.

On Fri, Sep 4, 2015 at 4:22 PM zyli2004 <zyli...@gmail.com> wrote:

I set BYPASS_TETHYS_HOME_PAGE = True on appsdev.hydroshare.org, but the home page is still there...

--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/d318d66d-9e0c-4805-8a79-f4dff726ab9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Nathan Swain

zyli2004

unread,
Sep 6, 2015, 1:43:43 PM9/6/15
to Tethys Platform, zyli...@gmail.com, dan. ames
Nathan,

I double checked this setting on appsdev: 
BYPASS_TETHYS_HOME_PAGE = False will open the homepage
BYPASS_TETHYS_HOME_PAGE = True will open http://appsdev.hydroshare.org/accounts/login/?next=/apps/, showing the log in page. Users need to sign in.
Is this working as expected? 

I remember in 1.1 True will open the apps page directly, no login required... However, as we will be testing OAuth feature linking with HydroShare, maybe current status (login is required) makes more sense. What do you think?

Thanks
Drew

Nathan Swain

unread,
Sep 7, 2015, 3:21:21 PM9/7/15
to zyli2004, Tethys Platform, dan. ames
That is the correct behaviour. All of the primary pages have been locked down in 1.2. You now need to be logged in to access the apps library page and developer tools pages. App developers will need to enforce login themselves, however. The new app scaffold provides an example of how to do that in apps.

For more options, visit https://groups.google.com/d/optout.
--
Nathan Swain
Reply all
Reply to author
Forward
0 new messages