? og_user_groups.patch
? og_user_groups_retry.patch
Index: og.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/og/og.module,v
retrieving revision 1.110.2.159
diff -u -p -r1.110.2.159 og.module
--- og.module	2 Jan 2007 04:01:42 -0000	1.110.2.159
+++ og.module	27 Feb 2007 15:17:02 -0000
@@ -868,9 +868,9 @@ function og_list_users_page($gid) {
 function og_list_groups_page($uid = NULL, $format = 'html') {
   global $user;
   
-  // workaround for the fact that anon users are served the 'og' manu item when they request a page like og/manage/x or og/user/x
-  if ($uid != NULL && arg(2) != 'opml' && !is_int($uid)) {
-    drupal_access_denied();
+  // workaround for the fact that anon users are served the 'og' menu item when they request a og/manage/x page
+  if ($uid != NULL && arg(2) != 'opml' && arg(1) == 'manage' && !is_int($uid)) {
+    return drupal_access_denied();
   }
 
   if (!$uid) {
