Index: modules/tracker.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/tracker.module,v
retrieving revision 1.121
diff -u -F^f -r1.121 tracker.module
--- modules/tracker.module	28 Aug 2005 15:29:34 -0000	1.121
+++ modules/tracker.module	15 Sep 2005 12:24:51 -0000
@@ -23,6 +23,13 @@ function tracker_help($section) {
 }
 
 /**
+ * Implementation of hook_perm().
+ */
+function tracker_perm() {
+  return array('access recent posts tracker');	
+}
+
+/**
  * Implementation of hook_menu().
  */
 function tracker_menu($may_cache) {
@@ -31,7 +38,7 @@ function tracker_menu($may_cache) {
 
   if ($may_cache) {
     $items[] = array('path' => 'tracker', 'title' => t('recent posts'),
-      'callback' => 'tracker_page', 'access' => user_access('access content'),
+      'callback' => 'tracker_page', 'access' => (user_access('access content') && user_access('access recent posts tracker')),
       'weight' => 1);
 
     if ($user->uid) {
@@ -44,7 +51,7 @@ function tracker_menu($may_cache) {
   else {
     if (arg(0) == 'user' && is_numeric(arg(1))) {
       $items[] = array('path' => 'user/'. arg(1) .'/track', 'title' => t('track'),
-          'callback' => 'tracker_track_user', 'access' => user_access('access content'),
+          'callback' => 'tracker_track_user', 'access' => (user_access('access content') && user_access('access recent posts tracker')),
           'type' => MENU_IS_LOCAL_TASK);
       $items[] = array('path' => 'user/'. arg(1) .'/track/posts', 'title' => t('track posts'),
           'type' => MENU_DEFAULT_LOCAL_TASK);
cvs diff: Diffing scripts
cvs diff: Diffing sites
cvs diff: Diffing sites/default
Index: sites/default/settings.php
===================================================================