i found my problem, it was because i restrict admin area to my agency role with this :
function restrict_access_administration(){
if ( current_user_can(‘agency’) ) {
wp_redirect( get_bloginfo(‘url’) );
exit();
}
}
how can i restrict admin area without disturb front upload media please ?