wifang / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Warn user when deleting/modifying shared item #392

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Samuli,

I updated to Mollify 1.8.7.5. With a previously (don't remember which version - 
around february..?) I just noticed, that the link is still working, but the 
share is not listed in the files share menu/popup.

Please have a look at the attached files displaying both: the db entry 
(phpmyadmin) and the share popup.

Do you have any idea what went wrong? Maybe a database/table update problem?

Many thanks and greetings,
    Markus

Original issue reported on code.google.com by recht...@dotquality.de on 12 Apr 2012 at 8:18

Attachments:

GoogleCodeExporter commented 9 years ago
Could you check your database table "item_id", what is the path for the id 
shown in the attachment 1 (4f3a5...)?

This item id found in share table must exist in table "item_id", and must match 
with the path for 20120212_Kamelle.zip shown in second pic.

Original comment by samuli.j...@gmail.com on 13 Apr 2012 at 6:23

GoogleCodeExporter commented 9 years ago
Hi Samuli,

the item_id table contains 3 entries for that file (depending on the path it is 
accessible?) 

4f410efcceba5   6:/20120212_Kamelle.zip
4f3a5a4588e2d   9:/users/markus/20120212_Kamelle.zip
4f55181eaaae9   13:/markus/20120212_Kamelle.zip

The second one 4f3a5a4588e2d is referenced in the share.

Original comment by recht...@dotquality.de on 13 Apr 2012 at 6:51

GoogleCodeExporter commented 9 years ago
Since you can access the same file through three different published folders, 
are you sure you are viewing the share list from the second option (published 
folder id 9)?

If you open first or third Mollify published folder, the share won't be listed.

Also, the share is visible only for user id 12.

Original comment by samuli.j...@gmail.com on 13 Apr 2012 at 7:08

GoogleCodeExporter commented 9 years ago
You nailed the reason: The share was created by another user. Sorry!

Maybe - from the usability point of view - it could be an idea to at least add 
a hint to the files dialog that it is shared. Every user should be warned that 
modifying or deleting the file is "not a good idea" then .
Making the file/share read-only as well would be another idea.

Do you think this makes sense?

Original comment by recht...@dotquality.de on 13 Apr 2012 at 7:15

GoogleCodeExporter commented 9 years ago
I'm glad you solved it.

For the sharing hint: Yes, this has been suggested before, and I agree 
something like this would be good. Right now I'm redesigning the entire UI, so 
I have to think this over when I get to this point.

I'll rename this issue to enhancement so I remember this.

Original comment by samuli.j...@gmail.com on 13 Apr 2012 at 7:21

GoogleCodeExporter commented 9 years ago
Available in version 2

Original comment by samuli.j...@gmail.com on 11 Sep 2013 at 9:01