From 79b578b7f8b5e3a80fcd0fd86e83d96d7c900bb1 Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Thu, 26 Mar 2020 16:29:46 +0100 Subject: tdf#101652 Add config option to prevent disabling readonly mode There are various cases where people don't want users to be able to turn off readonly mode, so add a config option for it. Setting this option will remove the "Edit document" button from the readonly infobar and also disable the "Edit mode" menu entry. Change-Id: I7988da5b181455f778a6ab148e6bf32182c72618 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91144 Tested-by: Samuel Mehrbrodt Reviewed-by: Samuel Mehrbrodt --- officecfg/registry/schema/org/openoffice/Office/Common.xcs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'officecfg/registry') diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs index f7e0329fd5a1..1307269765fb 100644 --- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs @@ -5806,6 +5806,12 @@ Number of saved searches in the Find and Replace dialog. + + + Allow the user to edit read-only docs (via menu or Infobar) + + true + -- cgit