Bugs item #3439866, was opened at 2011-11-18 03:25
Message generated for change (Comment added) made by kargor
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=3439866&group_id=167540

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Consistency
Group: None
Status: Open
>Resolution: Later
Priority: 4
Private: No
Submitted By: Alexander Waldmann (netcorps)
Assigned to: Nobody/Anonymous (nobody)
Summary: Adding new files as readonly possible

Initial Comment:
It should not be possible to create new files as a read only user in a shared 
project.
I don't know if it is possible to prevent the file creation operation entirely 
by hooking into the eclipse events.

The same goes for moving files as a readonly user which should be prevented too.

----------------------------------------------------------------------

>Comment By: Stefan Rossbach (kargor)
Date: 2012-06-27 14:35

Message:
Watchdog only tracks opened editors. There exists no "text editor" for
files with binary content that cannot be displayed as text (images, music,
etc ...)

----------------------------------------------------------------------

Comment By: Karl Beecher (k_beecher)
Date: 2012-01-05 07:24

Message:
Here's why the ResourceChangeValidator isn't alerted for new file creation
(it's apparently by design):

http://www.eclipse.org/forums/index.php/t/210409/

----------------------------------------------------------------------

Comment By: Karl Beecher (k_beecher)
Date: 2012-01-05 06:44

Message:
For some reason, the ResourceChangeValidator is not alerted to the creation
of new files by read-only users, therefore no warning pops-up at all.

----------------------------------------------------------------------

Comment By: Alexander Waldmann (netcorps)
Date: 2011-11-18 03:42

Message:
Please also note, that the follow mode does not recover from this problem -
after resolving the inconsistencies, the followmode participant does not
get an editor for the file, even though the followed host has the file
opened...

----------------------------------------------------------------------

Comment By: Alexander Waldmann (netcorps)
Date: 2011-11-18 03:39

Message:
Deleting files locally as readonly user does not trigger the watchdog.
I know, there is a dialog warning that i should not delete the file, but
the watchdog should still react to deleted files...

Imagine a file that gets deleted locally on the readonly participants
machine (outside eclipse!) and the user refreshes his project. The file is
removed but he is not notified that there is an inconsistency.
Only when following the host, and the host opens the locally deleted file,
the watchdog reacts.


----------------------------------------------------------------------

Comment By: Alexander Waldmann (netcorps)
Date: 2011-11-18 03:34

Message:
Now i am confused - when adding a new file from within eclipse, the
watchdog reacts, so i guess the problem is that there is no listener for
file drag&drop actions.

----------------------------------------------------------------------

Comment By: Alexander Waldmann (netcorps)
Date: 2011-11-18 03:32

Message:
Or maybe the watchdog does not have to react since the added file is not
part of the sharing, if saros does not explicitly KNOW about "full project
sharing" and "partial project sharing", but always uses a filelist.
i.e. if a full project sharing is the same as "partially sharing all files
in a project". In this case the newly added file is existant in a shared 
project but not part of the shared file list, thus the watchdog does not
react.

----------------------------------------------------------------------

Comment By: Alexander Waldmann (netcorps)
Date: 2011-11-18 03:26

Message:
The watchdog does not react when i add a PNG file via drag and drop to the
shared project.

it is not shared to the host of the session too, but the watchdog should
still react to this...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=843359&aid=3439866&group_id=167540

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dpp-robot mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dpp-robot

Reply via email to