GitHub user prabhjyotsingh opened a pull request: https://github.com/apache/zeppelin/pull/1797
[ZEPPELIN-1854] make Per User mode in interpreter setting visible even if there is no role assigned to a user ### What is this PR for? There can be a case where user may have enabled shiro authentication, but may not have configured role based mapping. In such a scenarios "Per User" mode in interpreter setting should be visible even if there are no role assigned to a user. ### What type of PR is it? [Bug Fix] ### What is the Jira issue? * [ZEPPELIN-1854](https://issues.apache.org/jira/browse/ZEPPELIN-1854) ### How should this be tested? Enable authentication via shiro.ini, and in that remove "[roles]" block, now after restarting zeppelin server "Per User" should be visible when user edits any interpreter setting. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? N/A * Is there breaking changes for older versions? N/A * Does this needs documentation? N/A You can merge this pull request into a Git repository by running: $ git pull https://github.com/prabhjyotsingh/zeppelin ZEPPELIN-1854 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1797.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 #1797 ---- commit d199c5eab2a8f45851bd8f17726d991d9e802d62 Author: Prabhjyot Singh <prabhjyotsi...@gmail.com> Date: 2016-12-23T06:30:16Z make per user mode visible ---- --- 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. ---