https://bugs.freedesktop.org/show_bug.cgi?id=69027

          Priority: medium
            Bug ID: 69027
          Assignee: [email protected]
           Summary: finalized configuration item can be overriden by
                    registrymodifications.xcu
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

== Example ==

Let's create share\registry\data\finalized.xcu with the following content:

<?xml version="1.0" encoding="UTF-8"?>
<oor:items xmlns:oor="http://openoffice.org/2001/registry";
xmlns:xs="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="o"
oor:finalized="true"><value>Example Corp.</value></prop></item>
</oor:items>

This sets and locks Tools - Options - LibreOffice - User Data - Company. When I
open LibreOffice, I see Example Corp., and although I can modify the edit box,
the setting is not saved, when I reopen the panel, Example Corp. is there. So
far, so good.

Then close LibreOffice, and edit registrymodifications.xcu manually. Add an
item:
<item oor:path="/org.openoffice.UserProfile/Data"><prop oor:name="o"
oor:op="fuse"><value>MyCompany Ltd.</value></prop></item>

Open LibreOffice, and check Tools - Options - LibreOffice - User Data -
Company, there will be MyCompany Ltd. And this setting is still locked, i.e.
cannot be changed from the UI.

== Problem ==

User can override a finalized setting that is forced on her by company policy,
because registrymodifications.xcu is writable by the user. Company name is only
an example, presumably every finalized setting can be overridden, and it makes
the feature useless.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to