I'm not certain whether this is an issue with FIle Entity or directly with Media, but when I try to edit Media videos and images by using the "edit" links in the files table on admin/content/file, I always get an access denied error. I'm not sure this is the source of the problem, but I think it has something to do with NULL being passed for the $file parameter to file_entity_access(). Also, according to the code in file_entity_access(), the "edit" operation no longer seems to be supported (it appears to have been renamed to "update"), which may be related.

I can still edit media files by going to one of the nodes they're attached to and clicking the "Edit" button next to the thumbnail, but my users use the admin/content/file a lot, so this problem is a game breaker for my site.

Comments

devin carlson’s picture

Version: 7.x-2.x-dev » 7.x-2.0-unstable7
Status: Active » Closed (fixed)

This was an issue with File entity and has been fixed in the latest 7.x-2.x. :)

coredumperror’s picture

Version: 7.x-2.0-unstable7 » 7.x-2.x-dev
Status: Closed (fixed) » Active

No, it hasn't been fixed. I had the latest dev releases of both File Entity and Media installed, and I was still getting this problem. Sorry for setting the version incorrectly in the issue settings.

devin carlson’s picture

Status: Active » Closed (cannot reproduce)

Just tested with the latest File entity and Media -dev releases and wasn't able to duplicate this issue.

If you're still having problems please reopen this issue and provide steps to reproduce using the latest Media + File entity releases.

aaronbauman’s picture

FYI for anyone else who stumbles upon this issue:
There are a bunch of "File entity" module permissions (in addition to Media module's own permissions?) that you should review in order to control access to the media browser.