GitHub user corneadoug reopened a pull request:

    https://github.com/apache/zeppelin/pull/1153

    Block all routes except Home when user isn't logged

    ### What is this PR for?
    When user isn't logged while the auth is activated, we are hiding the 
notebooks and most of the menus.
    However you can still access them using the url routes.
    This PR is blocking the url routes except the home route ('/') in that case.
    
    
    ### What type of PR is it?
    Improvement
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/ZEPPELIN-1123
    
    ### How should this be tested?
    * Activate the auth in shiro.ini
    * Launch Zeppelin, and try to visit `localhost:8080/#/interpreter` by 
typing it in your browser
    * You should be redirected to '/'
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/corneadoug/incubator-zeppelin ZEPPELIN-1123

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1153.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1153
    
----
commit ebb9136551530e1f3a9b3cb3310c1fcc4732e809
Author: Damien CORNEAU <cornead...@gmail.com>
Date:   2016-07-08T08:32:09Z

    Block all routes except Home when user isn't logged

commit 58c5a6eab59113bc40cb969be4ac9a505ad77aa9
Author: Damien CORNEAU <cornead...@gmail.com>
Date:   2016-07-11T07:02:34Z

    Remove preventDefault

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to