Github user weand commented on the issue:
https://github.com/apache/zeppelin/pull/2925
@mebelousov I fully agree that running document as the group is not what a
user would expect.
That's why I'm proposing another approach again:
1) prior to #2914 the cronExecutionUser config property was added to
org.apache.zeppelin.notebook.Note.config when activating the cron and entering
a username
2) that property is not set anymore. this PR here only sets the
authentication info at running time to something (a principal) from the
permission tab (which can be user or groups, which can not be determined
properly)
3) so why not again set that cronExecutionUser config property from 1)
(under the hood): with the user who activates the cron schedule expression.
when only the owner can enable cron expressions, it will always be the username
regardless of what principals exactly are configured in the permissions tab.
---