Bug 66398 - FILESAVE: DOCX export document with 'Restrict Editing' is not protected anymore
Summary: FILESAVE: DOCX export document with 'Restrict Editing' is not protected anymore
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: 4.2.0.0.alpha0+ Master
Hardware: Other All
: high major
Assignee: Not Assigned
QA Contact: Jorendc
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-30 13:23 UTC by Adam CloudOn
Modified: 2013-07-16 02:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
DOCX containing 'Restricted' paragraphs and an 'Editable' paragraph (10.18 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-06-30 13:23 UTC, Adam CloudOn
Details

Description Adam CloudOn 2013-06-30 13:23:30 UTC
Created attachment 81742 [details]
DOCX containing 'Restricted' paragraphs and an 'Editable' paragraph

Problem description: 
When you load a DOCX that has a protection of type 'Restrict Editing' - LO loads it with no protection (I have opened a bug for the 'import' side in https://www.libreoffice.org/bugzilla/show_bug.cgi?id=66397).

When you save the file back to a DOCX - the 'Restrict Editing' is lost, and when opening the file in Word - the user can edit anything he wants in the document.

Password to disable restrictions is '12345'.

Steps to reproduce:
1. Open the attached DOCX in LO
2. Save as a NEW.DOCX
3. Open the NEW.DOCX in Word
4. You can now edit anything in the document

Current behavior:
'Restrict Editing' is lost.
The user can edit anything in the NEW.DOCX in Word.

Expected behavior:
'Restrict Editing' should be preserved.
The user should be allowed to edit only the editable sections in the document.
              
Operating System: All
Version: 4.2.0.0.alpha0+ Master
Comment 1 Adam CloudOn 2013-06-30 13:26:21 UTC
The nodes that are not imported are:
 -   <w:permStart> in the 'document.xml' file.
 -   <w:permEnd> in the 'document.xml' file.
 -   <w:documentProtection> in the 'settings.xml' file.
Comment 2 Adam CloudOn 2013-06-30 13:35:35 UTC
> The nodes that are not imported are:
Of course, I meant 'the nodes that are not exported are'
Comment 3 Cor Nouws 2013-07-01 07:49:31 UTC
See my comment with bug 66397 ?
Comment 4 Jorendc 2013-07-01 09:31:35 UTC
I can confirm this behavior using Mac OSX 10.8.4 with LibreOffice Version: 4.2.0.0.alpha0+ Build ID: 9ab800829b8a0e44824dc11276b54b1870bc5b2b in combination of Word for Mac 2011.

'Data loss' - > major high in this case :)

Kind regards,
Joren


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.