Guillaume Van Delsen created ZEPPELIN-2329:
----------------------------------------------
Summary: Restart interpreter from error for non admin users
Key: ZEPPELIN-2329
URL: https://issues.apache.org/jira/browse/ZEPPELIN-2329
Project: Zeppelin
Issue Type: Bug
Affects Versions: 0.8.0
Reporter: Guillaume Van Delsen
I have the following shiro.ini file with admin / non admin roles :
#/api/version = anon
/api/interpreter/** = authc, roles[admin]
/api/configurations/** = authc, roles[admin]
/api/credential/** = authc, roles[admin]
#/** = anon
/** = authc
Only admin users should have rights to edit interpreter config which works fine.
At some point, regular users should be able to restart their own interpreters
(spark is this case) from the nb page but the pop-up just show an error
(exactly : (nothing is the log) and the process stay there.
I believe is due to the restriction on /api/interpreter uri as I get a 401.
Did the same with an admin user and works fine, the interpreter process is
killed and lazily restarted when a cell is executed.
https://drive.google.com/file/d/0B4flaCIh3sQHdUIwR1Jfel9KWG8/view?usp=sharing
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)