[Libreoffice-bugs] [Bug 41282] Password protection for writes is implemented as read-only.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Oct 4 02:47:10 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=41282
--- Comment #3 from Allan Jacobs <jacobsallanster at gmail.com> 2011-10-03 17:47:10 PDT ---
There is really a problem with the specification of this feature. There are
three items in play. A read password, a read-only check box, and a write
password.
Read-protect means that the document can be read with a password.
Write-protect means the document can be changed with a password. Read-only
means that the document can only be read.
The user guide says that a document for which the "Open file read-only" check
box is checked can actually be written to if the save is accompanied by a write
password. (This user interface would have to be considered strange, if it were
actually implemented.)
If it is assumed that the user guide actually were implemented:
Read Read-only Write
password Checked Password Expected Result Actual result
-------- --------- -------- ------------------------ ---------------
Null Unchecked Null Unprotected Unprotected
Not null Unchecked Null Read-prot Read-prot
Null Checked Null Read-only Read-only
Not null Checked Null Read-prot & Read-only Read-prot & Read-only
Null Unchecked Not null Reject the user input Read-only
Not null Unchecked Not null Reject the user input Read-prot & Read-only
Null Checked Not null Write-prot Read-only
Not null Checked Not null Read-prot & Write-prot Read-prot & Read-only
This, in my opinion, is what should be implemented. The documentation should
be changed to match...
Read Read-only Write
password Checked Password Expected Result
-------- --------- -------- ------------------------
Null Unchecked Null Unprotected
Not null Unchecked Null Read-prot
Null Checked Null Read-only
Not null Checked Null Read-prot & Read-only
Null Unchecked Not null Write-prot
Not null Unchecked Not null Read-prot & Write-prot
Null Checked Not null Read-only (write-password ignored)
Not null Checked Not null Read-prot & Read-only (write-password ignored)
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list