Bug 469327

Summary: The protected file is opened without password
Product: Red Hat Enterprise Linux 5 Reporter: Suqin Huang <shuang>
Component: openoffice.orgAssignee: Caolan McNamara <caolanm>
Status: CLOSED NOTABUG QA Contact: desktop-bugs <desktop-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-31 10:34:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Suqin Huang 2008-10-31 10:25:29 UTC
Description of problem:


Version-Release number of selected component (if applicable):
openoffice.org-2.3.0-6.5.4.el5_2

How reproducible:
Every time

Steps to Reproduce:
1. Launch oowriter
2. Type something in this new file
3. Go to Tools->Options->security
4. Click "Protect"
5. Input the password(more than five characters) and confirm, click "OK"
6. Click "OK" again
7. Save this file, close oowriter and reopen this file
  
Actual results:
The file is opened without password.

Expected results:
You are prompted to input password.

Additional info:

Comment 1 Caolan McNamara 2008-10-31 10:34:10 UTC
No, that's not what the "protect" you see in options does. If you want to enforce a password to *open* a document you use the password option in the file->save dialog. Using that makes you enter a password to open the document. 

That other protect is to enforce how changes are allowed. You can set the document to be read-only or, the default, you can force that document can only be in track-changes, i.e. you can edit it, but what you edit is recorded as a change from the original. Using edit->changes->record to try and disable that should prompt for the "protect" password