diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-03-26 16:29:46 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2020-03-30 09:36:50 +0200 |
commit | 79b578b7f8b5e3a80fcd0fd86e83d96d7c900bb1 (patch) | |
tree | b7d693a23c736049e2b247670d0edd33274df63c /officecfg/registry | |
parent | 96def0ee391a99ddf042df820db1292b83d0c4fe (diff) |
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 <Samuel.Mehrbrodt@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'officecfg/registry')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/Common.xcs | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ <desc>Number of saved searches in the Find and Replace dialog.</desc> </info> </prop> + <prop oor:name="AllowEditReadonlyDocs" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Allow the user to edit read-only docs (via menu or Infobar)</desc> + </info> + <value>true</value> + </prop> </group> <group oor:name="Forms"> <info> |