Index: D:/workspace/jobsdr5/modules/og_roles/og_roles.module
===================================================================
--- D:/workspace/jobsdr5/modules/og_roles/og_roles.module	(revision 29)
+++ D:/workspace/jobsdr5/modules/og_roles/og_roles.module	(working copy)
@@ -26,11 +26,12 @@
 
   if (!$may_cache) {    
     if (! user_access('administer site configuration')) {
-      $user = user_load(array('uid' => $user->uid));
+      $user = user_load(array('uid' => $user->uid));       
 
       foreach ($user->og_groups as $key => $sub) {
 
-        if (og_roles_is_allowed($key)) {
+        if (og_roles_is_allowed($key)) {
+          $node = node_load(array('nid' => $key));
 
 	        // Add another tab to the group subscribers page for admins to 
 	        // configure member roles
@@ -40,7 +41,7 @@
 	          'title' => t('configure member roles'),
 	          'callback arguments' => array($key),
 	          'type' => MENU_LOCAL_TASK,
-	          'access' => node_access('update', array('nid' => $key, 'status' => 1)),
+	          'access' => node_access('update', $node),
 	          'weight' => 5,
 	        );
         }
