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 created a new sandbox Media OG Access that limits the media browser list to content based on group permissions.
For this module to work, I created a hook in media_browser_list() called hook_media_browser_list_query_alter(). Please review this module and the patch that is coming.
Comment | File | Size | Author |
---|---|---|---|
#1 | media-hook_media_browser_list_query_alter-1830734-1.patch | 1.04 KB | arosboro |
Comments
Comment #1
arosboro CreditAttribution: arosboro commentedHere's the patch.
Comment #2
arosboro CreditAttribution: arosboro commentedComment #3
ParisLiakos CreditAttribution: ParisLiakos commentedNo more features in 1.x branch, sorry
And i think this is not needed for 2.x
Comment #3.0
ParisLiakos CreditAttribution: ParisLiakos commentedChange link to sandbox title
Comment #4
Devin Carlson CreditAttribution: Devin Carlson commentedAs ParisLiakos mentioned, this is not needed for 2.x and Media 1.x is feature complete.