GitHub user yu74n opened a pull request:

    [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?
    ### What is the Jira issue?
    ### 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 default-owner

Alternatively you can review and apply these changes as the patch at:

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 <>
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 or file a JIRA ticket
with INFRA.

Reply via email to