I discovered this in the D5 version of og_forum but it appears to be there in D6 as well. Here it is pasted from the D6 version.
function og_forum_page($tid = 0) {
global $user;
if ($tid != 0) {
og_forum_set_og_group_context_from_tid($tid);
$gid = og_forum_gid_from_tid($tid);
if ($gid) {
if (!array_key_exists($gid, $user->og_groups) && ($user->uid != 1) && !(user_access('adminster forums')) && !og_forum_is_public($tid)) {
return drupal_access_denied();
}
...
'adminster forums' should be 'administer forums'.
With the typo I was finding a user with the administrator role and appropriate permissions still could not access and manage forums that he/she should have been able to. Fixing the typo resolved that issue and it worked the way I expected.
I am marking this critical because it affects functionality for non-uid-1 admins. Thanks!
Comments
Comment #1
Anonymous (not verified) commentedThanks, ill get that committed later today.