Intending to select user role while creating the node to control the node visibility
try one of the following:

Node Access:


  The modules provide roles and user specific security permissions for
  menus, menu items, nodes, and security integration into the
  administration and help systems.


nodeaccess:


  Nodeaccess is a Drupal access control module which provides view, edit
  and delete access to nodes. Users with the 'grant node permissions'
  permission will have a grant tab on node pages which allows them to
  grant access to that node by user or role.


Content Access:


  This module allows you to manage permissions for content types by role
  and author. It allows you to specifiy custom view, edit and delete
  permissions for each content type. Optionally you can enable per
  content access settings, so you can customize the access for each
  content node.