Index: fivestar.module =================================================================== --- fivestar.module (revision 53) +++ fivestar.module (working copy) @@ -918,7 +918,8 @@ switch ($position) { case 'above': case 'below': - if (user_access('rate content')) { + global $user; + if (user_access('rate content') && fivestar_validate_target($node->type, $node->nid, $user->uid)) { $node->content['fivestar_widget'] = array( '#value' => fivestar_widget_form($node), '#weight' => $position == 'above' ? -10 : 50,