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.

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

Comments

arosboro’s picture

FileSize
1.04 KB
PASSED: [[SimpleTest]]: [MySQL] 11 pass(es). View

Here's the patch.

arosboro’s picture

Status: Active » Needs review
ParisLiakos’s picture

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

ParisLiakos’s picture

Issue summary: View changes

Change link to sandbox title

Devin Carlson’s picture

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.