Christian Fries created ZEPPELIN-2587:
-----------------------------------------

             Summary: Login option not showing up if home screen allows 
anonymous access.
                 Key: ZEPPELIN-2587
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2587
             Project: Zeppelin
          Issue Type: Bug
          Components: front-end, zeppelin-server
    Affects Versions: 0.7.1, 0.8.0
            Reporter: Christian Fries


If the shiro.ini configuration file is modified to protect *some* urls by a 
user / password / role while the home screen still allows for anonymous access, 
Zeppelin does not show a login button or login option under the username menu.

In this case the only way to login is to access some url which does not allow 
anonymous access (e.g. the interpreter menu), which will then prompt for login.

To reproduce the issue use the following setup in shiro.ini
{code}
[urls]
/api/version = anon
/#/notebook/** = anon
/api/interpreter/** = authc, roles[admin]
/api/configurations/** = authc, roles[admin]
/api/credential/** = authc, roles[admin]
#/** = anon
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to