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.

#1 media-hook_media_browser_list_query_alter-1830734-1.patch1.04 KBarosboro
PASSED: [[SimpleTest]]: [MySQL] 11 pass(es).
[ View ]


new1.04 KB
PASSED: [[SimpleTest]]: [MySQL] 11 pass(es).
[ View ]

Here's the patch.

Status:Active» Needs review

Version:7.x-1.x-dev» 7.x-2.x-dev
Status:Needs review» Needs work

No more features in 1.x branch, sorry

And i think this is not needed for 2.x

Issue summary:View changes

Change link to sandbox title

Issue summary:View changes
Status:Needs work» Closed (won't fix)

As ParisLiakos mentioned, this is not needed for 2.x and Media 1.x is feature complete.