http://stackoverflow.com/questions/10495498/show-a-joomla-article-to-registered-users-only-or-a-login-screen-if-not-logged
<? if ($user->groups[6] or $user->groups[8]){ $access = true; } ?>