Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Zeppelin Default Notebook Permissions

Solved Go to solution

Zeppelin Default Notebook Permissions

Contributor

Hello All,

Does anyone know of a way to configure Zeppelin so that it will automatically set notebook permissions when creating a new note? We are using shiro to authenticate via AD and are fine tuning the groups permissions in that area, but I am curious to see if there's a way to have a note set default permissions to anything other than (*) for owner, read, write.

Environment: Our environment is currently on HDP-2.5.3.0-37 which houses Zeppelin release 0.6.2, we plan to upgrade to HDP 2.6+ in the coming months which houses Zeppelin release 0.7.0.

Target Outcome: When `user1` creates a note, the note permissions (available through the padlock symbol on the note page) will automatically populate to Owner: `user1`, Write: `none`, Read: `none`.

Many thanks in advance to any help,

Colton

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Zeppelin Default Notebook Permissions

@Colton Rodgers

This issue was filed as an apache JIRA

https://issues.apache.org/jira/browse/ZEPPELIN-1657

And it was fixed with Zeppelin 0.7 release. Hence this feature is automatically supported in HDP-2.6 and when you upgrade, you will see that the notebooks automatically set to following permissions when shiro authentication is enabled

owner : user1 (creator of the notebook)

writer: ''

reader: ''

I dont think there is a way you can do it in HDP-2.5 without backporting relevant fixes.

3 REPLIES 3

Re: Zeppelin Default Notebook Permissions

@Colton Rodgers

This issue was filed as an apache JIRA

https://issues.apache.org/jira/browse/ZEPPELIN-1657

And it was fixed with Zeppelin 0.7 release. Hence this feature is automatically supported in HDP-2.6 and when you upgrade, you will see that the notebooks automatically set to following permissions when shiro authentication is enabled

owner : user1 (creator of the notebook)

writer: ''

reader: ''

I dont think there is a way you can do it in HDP-2.5 without backporting relevant fixes.

Re: Zeppelin Default Notebook Permissions

Rising Star

Is there a way to change this default so that notes are locked down as read-only for other users by default? The empty string evaluates as "everyone" in the Zeppelin notebook security...

Re: Zeppelin Default Notebook Permissions

New Contributor

In order to make notes private, set the zeppelin.notebook.public property to false in zeppelin-site.xml.

Don't have an account?
Coming from Hortonworks? Activate your account here