display specific sidebar for each role

You could either read the role of the current user, then show the desired sidebar elements, or (what I’d prefer) check for certain capabilities.

User Role

global $current_user;
$roles = $current_user->roles;
$role = array_shift( $roles );
switch ( $role ) {
    case ...
}

Capabilities

if ( current_user_can( SOME_CAP ) ) {
} elseif ( current_user_can( SOME_CAP ) ) {
} else { //maybe display nothing or an error or whatever}

tech