GitHub user yu74n opened a pull request: https://github.com/apache/zeppelin/pull/2416
[ZEPPELIN-2647] Set admin user as owner when user create a notebook ### What is this PR for? When a user creates a notebook, default users (an administrator can set default users in zeppelin-site.xml) are set as owner. ### What type of PR is it? Improvement ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-2647 ### How should this be tested? 1. Change Notebook workspace to private through whether ZEPPELIN_NOTEBOOK_PUBLIC = false or zeppelin.notebook.public = false. 2. Set default owners through ZEPPELIN_DEFAULT_OWNER = <comma separated username> or zeppelin.notebook.owner = <comma separated username>. 3. Create notebook. 4. Check if notebook's owner is set to both default users and the user who create the notebook. ### Questions: * Does the licenses files need update? N * Is there breaking changes for older versions? Y/N * Does this needs documentation? Y You can merge this pull request into a Git repository by running: $ git pull https://github.com/yu74n/zeppelin default-owner Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2416.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 #2416 ---- commit ec5faa911cf7c2e725a09ecf792348baaa536d24 Author: Yuta Hongo <yut...@gmail.com> Date: 2017-06-16T05:41:27Z Add new setting field to set default owner ---- --- 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. ---