GitHub user prasadwagle opened a pull request: https://github.com/apache/incubator-zeppelin/pull/766
[ZEPPELIN-666] Change location of notebook authorization information. ### What is this PR for? Currently, notebook authorization information is stored in the note file (note.json). The purpose of this PR is to store the authorization information in notebook-authorization.json in the conf directory. There is no change to the user experience. The long-term goal is to make NotebookAuthorization an interface with implementation to store the authorization information with Shiro. ### What type of PR is it? Improvement ### Todos * [ ] - Code review ### What is the Jira issue? [ZEPPELIN-666](https://issues.apache.org/jira/browse/ZEPPELIN-666) ### How should this be tested? 1. Enable Basic Auth Security by changing conf/shiro.ini. 1. Create a note. By default all operations are allowed by any authenticated user. 1. Update readers, writers and owners by clicking on the lock icon in the top right area. 1. Check if users can or cannot perform operations according to the permissions. 1. Check if notebook-authorization.json has correct authorization information. ### Screenshots (if appropriate) Not applicable. ### 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/prasadwagle/incubator-zeppelin ZEPPELIN-666 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-zeppelin/pull/766.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 #766 ---- commit 1fe840824b860bbc25173bfe0006a5f0b8d7ce2e Author: Prasad Wagle <pwa...@twitter.com> Date: 2016-03-07T20:59:05Z Store notebook authorization information in a file separate from note file ---- --- 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. ---