You are here

function media_access in D7 Media 7

Access callback for media assets.

1 call to media_access()
media_file_download_access in ./media.module
Implements hook_file_download_access().
1 string reference to 'media_access'
media_menu in ./media.module
Implement of hook_menu().

File

./media.module, line 580
Media API

Code

function media_access($op) {
  return user_access('administer media') || user_access($op . ' media');
}