Hide WP Logo from admin bar menu additional role option

This code adds additional option to the Users->User Role Editor, which allows to hide WordPress Logo menu from admin bar menu for the selected role at “Users->User Role Editor” page:

hide wp logo
Hide WP Logo from admin menu bar