huage1994 commented on PR #4308:
URL: https://github.com/apache/zeppelin/pull/4308#issuecomment-1099792911

   > Good point @jongyoul , is it possible to turn off this feature by setting 
`zeppelin.notebook.oss.version.max` to 1? @huage1994
   
   HI all,
   I think if we enable/disable version control,  the webUI should be changed 
too.    
   It is judged by `notebookRepo instanceof NotebookRepoWithVersionControl`  in 
`Notebook.java` at line  764.
   
   Actually, we just need to change webUI to turn off version control, and it 
is applicable to all notebookRepo. 
   
   So my idea is to add a configuration value to enable/disable version control 
globally, and enable/disable version control  widget in webUI. We just need to 
add a `if`  statement in `Notebook.java` .


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@zeppelin.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to