Under certain circumstances (e.g. existing licenses) it is desired to use ONLYOFFICE only as viewer but not as editor. Make a corresponding configuration option.