Index: user_tags.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/user_tags/user_tags.module,v
retrieving revision 1.8.2.1
diff -u -r1.8.2.1 user_tags.module
--- user_tags.module	10 Dec 2006 23:46:05 -0000	1.8.2.1
+++ user_tags.module	11 Mar 2008 21:59:50 -0000
@@ -15,7 +15,7 @@
  * Implementation of hook_perm().
  */
 function user_tags_perm() {
-  return array('tag users');
+  return array('tag users', 'view user tags');
 }
 
 function user_tags_menu($may_cache) {
@@ -85,12 +85,14 @@
 function user_tags_user($op, &$edit, &$account, $category = NULL) {
   switch ($op) { 	 
     case 'view':
-      $list = array();
-      foreach ($account->taxonomy as $tid => $term) {
-        $list[] = array('value' => l($term->name, "tag/user/$tid"));
-      }
-      if (!empty($list)) {
-        return array('Tags' => $list);
+      if (user_access('view user tags')) {
+        $list = array();
+        foreach ($account->taxonomy as $tid => $term) {
+          $list[] = array('value' => l($term->name, "tag/user/$tid"));
+        }
+        if (!empty($list)) {
+          return array('Tags' => $list);
+        }
       }
     break;
     
