Template Tags for the rescue
-
Only logged in users:
is_user_logged_in()
-
Only logged in users that have a certain capability assigned to their role
current_user_can($capability)
-
Only logged in users that have a specific role assigned
current_user_has_role($role)
-
Only logged in users that have a specific capability assigned (to their role) on a specific blog
current_user_can_for_blog($blog_id, $capability)