I'd like to see access control for media_internet providers. Maybe something like hook_menu() has.
function hook_media_internet_providers() {
return array(
'youtube' => array(
'title' => 'youtube',
'image' => 'youtube.jpg',
'access callback' => 'user_access', // Default values could be user_access
'access arguments' => array('add media from remote sources'), // and add media from remote sources
),
);
}
Comments
Comment #1
mpgeek commented@Nicklas, Media 1.x is feature frozen. But, if you'd like to see it in 2.x, are you asking for granular access control per internet source? Or something else?
Comment #2
Niklas Fiekas commentedExactly :)
Comment #3
mpgeek commentedComment #4
mpgeek commentedWondering if this would be better handled by the client modules (media_youtube, media_vimeo, etc)?
Comment #5
chris matthews commentedClosing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team