Authenticated users do not have access to edit media files in gallery even if their are authors of that gallery and files.
Of course I check all permissions correctly (edit own files etc.) and I track down that problem is in media_gallery_filter_media_access function file_entity_access always return NULL. So it can be problem with file entity (I use 2.x dev) but not sure.

For me was enough simple hack/fix with let authors edit his files but this need more deep track why could not use normally multiedit.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Moloc’s picture

Status: Active » Needs review
FileSize
1.2 KB

Thank you for reporting the issue.

It seems, we are using the wrong operation.
Attached a patch, which should fix it.

ShadowMonster’s picture

Status: Needs review » Fixed

Thanks, tested and seams work ok now.

Closing

sw3b’s picture

Status: Fixed » Reviewed & tested by the community

Nice work ! Work like a charm !

And sorry to change it from fixed to reviews but since it is not apply to dev i think it's better like this for people having this issue.

wingalingadingdong’s picture

Patch #1 works as intended!

saltednut’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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