Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Zeppelin Default Notebook Permissions

avatar
Rising Star

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

avatar

@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.

View solution in original post

3 REPLIES 3

avatar

@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.

avatar
Expert Contributor

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...

avatar
New Contributor

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