Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm using the media field widget on a profile field. Everything works perfectly. Except when a user adds a new media file via the overlay. After the file has been added to the profile form the "Edit media" button doesn't show up. I've checked all permission. Also the file_entity_access method returns TRUE but the button isn't there. Only if the user saves the profile and reloads the form the button is displayed.
Comments
Comment #1
bsuttis CreditAttribution: bsuttis commentedConfirming I've got the same issue as above.
One way to fix it is allow the user role permission to 'Edit any files' instead of 'Edit own files'. However this isn't ideal.
This issue http://drupal.org/node/1894390 says updating to latest dev versions of File entity and Media should fix the problem, but it remains for me.
Comment #2
zonesny CreditAttribution: zonesny commentedI'm experiencing the same issue as jay187 and bsuttis above. Previously, using Media 7.x-2.0-unstable7+38-dev and Media_YouTube 7.x-2.0-rc2+3-dev, my site showed three buttons after a user had selected a YouTube video:
select edit remove
Now, only the select button appears.
Currently installed:
Drupal core 7.22
File Entity 7.x-2.0-unstable7
Media 7.x-2.0-unstable7+42-dev
Media_YouTube 7.x-2.0-rc3
Incidentally, even logged in as "admin" with full permissions, I am experiencing this. For authenticated users, the following permissions were granted:
File Entity
- Administer files
- Add and upload files
Media Internet Sources
- Add media from remote services
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedThis is a duplicate of #1947388: 'Edit own files' permission does not output 'Edit media' button after adding file