In the gallery node there are these nice Contextual links on each image. In there is also a "delete" link, which is quite dangerous.
Action links

Because as explained here http://drupal.org/node/1230938#comment-4877448, one has to remove a media file before deleting it. If you delete it before one removes it, this wreaks havoc to the gallery, as it is not really deleted and the gallery thinks it would still be there. Navigating via "next" or "previous" through the gallery gets you to a page like this:

Page not found

There might be quite some trouble with clients doing a gallery with 75 images, breaking it that way and having to upload all 75 images again as well as adding a description to each...
A user only sees this link, if he has "administer media" permissions, o.k. But especially with smaller sites and smaller clients they often have full admin permissions, so they see the link.

So all occurrences of "delete" should be removed from the Media gallery interface. This is the only one I found, but there may be more.

Comments

moloc’s picture

Thank you for reporting. This issue will be active, if you use media 2.x (lets first implement #1391332: Support file field as well as deprecated media asset field and #1244204: Make media_gallery work with media-7.x-2.x branch). Then we can work on this issue.

One related issue is #1715422: Deleting a file without removing it from the gallery breaks that gallery.

moloc’s picture

Status: Active » Fixed

Deleting is now correctly implemented in media gallery: See #1715422: Deleting a file without removing it from the gallery breaks that gallery

So i think, we can close this issue (maybe this is a duplicate?).

moloc’s picture

Version: 7.x-1.0-beta8 » 7.x-2.x-dev

Fixed in 2.x, in 1.x you cannot remove a file, if it is in use.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.