Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
0.8.0
-
None
-
None
-
None
Description
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