diff options
author | Muhammet Kara <muhammet.kara@pardus.org.tr> | 2017-05-22 11:41:20 +0300 |
---|---|---|
committer | Katarina Behrens <Katarina.Behrens@cib.de> | 2017-06-09 10:24:53 +0200 |
commit | 5cae6a08a13ab0842826989eb5b840746be494a2 (patch) | |
tree | f242c60ebb9c2fc6de32241f6b9139d0c2b3d1d9 /officecfg | |
parent | 430e2d0d087ec981e59e0962bc029717481ee753 (diff) |
tdf#36019: Enable/disable extension installation and removal via GUI
Now extension installation and removal via the Extension Manager dialog
can be dynamically enabled/disabled from the expert configurations.
This also affects the installation by double-clicking the extension
file in the file manager, but doesn't affect the unopkg commands.
When ExtensionSecurity::DisableExtensionRemoval is set in expert configurations,
context menu entry of 'remove' for installed extensions is also
disabled along with the "Remove" button on the dialog.
This is the combination of 4 commits from master:
99b7c4f57d7f
f09be32d0fcb
99841f1fd2bf
18cf49580846
Change-Id: Ide7b8bcae750b093bcc0a98948845273611cd620
Reviewed-on: https://gerrit.libreoffice.org/38455
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Muhammet Kara <muhammet.kara@pardus.org.tr>
Diffstat (limited to 'officecfg')
-rw-r--r-- | officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs b/officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs index 893fd882ac37..eaf840cd90e4 100644 --- a/officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs +++ b/officecfg/registry/schema/org/openoffice/Office/ExtensionManager.xcs @@ -47,6 +47,25 @@ <value/> </prop> </group> + <group oor:name="ExtensionSecurity"> + <info> + <desc>Holds settings related to Extension security.</desc> + </info> + <prop oor:name="DisableExtensionInstallation" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Specifies whether to disable extension installation via the Extension Manager dialog.</desc> + <label>Disable Extension Installation</label> + </info> + <value>false</value> + </prop> + <prop oor:name="DisableExtensionRemoval" oor:type="xs:boolean" oor:nillable="false"> + <info> + <desc>Specifies whether to disable extension removal via the Extension Manager dialog.</desc> + <label>Disable Extension Removal</label> + </info> + <value>false</value> + </prop> + </group> <group oor:name="ExtensionUpdateData"> <info> <desc>Contains information about available or ignored updates for extensions."</desc> |