Issue 102464

Summary: When file is read-only because of rights OOo 3.1 says it is opened by an unknown user
Product: General Reporter: chojin <robin.roevens1>
Component: uiAssignee: thorsten.martens
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues, kpalagin
Version: OOO310m11   
Target Milestone: OOo 3.2   
Hardware: All   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 99999    
Attachments:
Description Flags
illustrating screenshot none

Description chojin 2009-06-03 08:19:02 UTC
When a user has read-only rights on a file and that user tries opening the file
in OOo 3.1, it says the file is already opened and locked by an unknown user.
This is a wrong message and confuses users. 
In this case OOo should tell the user the file is opened read-only because of
missing rights (like it was done before 3.1) and not because it is locked by an
unknown user. (because then users start to call the IT helpdesk, asking who that
unknown user is, and what he is doing with that file..)
Comment 1 kpalagin 2009-06-04 12:19:03 UTC
Confirming with m48 on WinXP - as described.
Comment 2 kpalagin 2009-06-04 12:27:04 UTC
Created attachment 62768 [details]
illustrating screenshot
Comment 3 Olaf Felka 2009-06-04 12:38:10 UTC
Also in m49...
Comment 4 Olaf Felka 2009-06-04 12:39:47 UTC
Giving Target
Comment 5 mikhail.voytenko 2009-06-04 13:09:35 UTC
The similar problem was fixed for the issue 99967 already for OOo3.1, and
actually the OOo3.1 reacts correctly on read-only documents. The problem here is
that office does not recognized that the document is read-only.

The specialty of this scenario is that "Security" tab page contains rule that
denies Write, but in the "General" tab-page the Read-only attribute is not set.
This situation is only possible on Windows platform as I understand. Setting the
OS field accordingly.

If there is another scenario to reproduce the problem, please publish it here.
Comment 6 mikhail.voytenko 2009-09-22 11:07:36 UTC
This issue does not look for me as a showstopper for OOo3.2. From other side,
formally speaking, it could be treated as a regression ( it is not a direct
regression, because the code that has detected that the file is readonly was
always broken, it just was not necessary to use it before ).

So, please fill free to report this bug as a showstopper in
releases@openoffice.org, if you believe that it should definitely be fixed in
OOo3.2.

If the issue is not recognized as a showstopper, I will set the target to OOo3.3
next days.
Comment 7 mikhail.voytenko 2009-10-08 16:54:03 UTC
The solution will need an enhancement in the implementation, that detects
whether a file is readonly. I will start with this issue a little bit later,
since currently there are more important showstoppers to solve.
Comment 8 mikhail.voytenko 2009-11-06 15:06:04 UTC
Fixed in cws fwk125.
Comment 9 mikhail.voytenko 2009-11-06 15:17:42 UTC
The mentioned fix fixes only the described problem.
The general solution to support ACL will be implemented for OOo3.3 for issue 106648.
Comment 10 mikhail.voytenko 2009-11-10 16:49:31 UTC
mav->of: Please verify the issue.
Comment 11 Olaf Felka 2009-11-10 18:02:05 UTC
reassigned
Comment 12 thorsten.martens 2009-11-16 13:21:13 UTC
checked and verified in cws fwk125 -> OK !