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.
I have a user case where i would like to give the user the option to have the gallery images stored privately or publically. Currently the gallery images and other fields are locked, and the uploaded files are stored in the publically accessible file system.
Comment | File | Size | Author |
---|---|---|---|
#8 | media_gallery-field-unlocking.922570.8.patch | 6.18 KB | mrfelton |
Comments
Comment #1
JacobSingh CreditAttribution: JacobSingh commentedYep, that would be a nice feature to have. If you have more specifics on how you'd like to implement it, it *might* happen sooner. It's not on Acquia's immediate roadmap, but a lot of people are getting involved, so a wireframe or two might help that process along.
Best,
J
Comment #2
Aonoa CreditAttribution: Aonoa commentedHere we are defining public as anonymous, and private as authenticated users, right? I would very much like to see this feature implemented as well, has anything happened here?
Best regards,
Ao
Comment #3
Renegadez CreditAttribution: Renegadez commented@ #2 AO Is this not possible thru the roles permissions settings?
Comment #4
Aonoa CreditAttribution: Aonoa commented@Renegadez: Not to my knowledge, as what I want is the ability to selectively make content public or private. Either per gallery or per media added to a gallery, maybe even both. Drupal has two methods of storing files, either public or private, and you can normally select which one you want to use.. but with the galleries here you cannot, because it's locked to public.
Best regards,
Ao
Comment #5
Renegadez CreditAttribution: Renegadez commentedOK I get it now thats what i was wondering thanks I am interested in this too
Comment #6
Renegadez CreditAttribution: Renegadez commentedAny news?
Comment #7
mrfelton CreditAttribution: mrfelton commentedI have a similar request, where I'd like to be able to use the field_permissions module to lock down certain field on the media gallery content type to specific roles. However, because the fields are locked, field_permissions is unable to do it's thing.
Comment #8
mrfelton CreditAttribution: mrfelton commentedAttached patch adds a new settings page, which allows fields to be locked/unlocked. There may be a better way to store the override data than in system variables, but with this applied you can unlock individual fields and then you are able to adjust their settings.
Comment #9
mrfelton CreditAttribution: mrfelton commentedGuys - you may want to check out this Drupal core issue, where there is a patch that will unlock the widget settings for locked fields - #806102: Locked fields can change the widget but not settings
Comment #10
amittarkar CreditAttribution: amittarkar commentedComment #11
ivnish CreditAttribution: ivnish commented