Project:Content Type Administration by Organic Group
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:paulbooker
Status:closed (fixed)

Issue Summary

The tab supposedly only for group admins displays for all members at the top of the Group homepage.

I'm using the latest dev that was committed today.

Comments

#1

In addition, the tab shows up for all standard group content (not just designated group nodes)

#2

The "working" development release was only available for download from today (10th October) and your posts are from the (9th October) so it may be you are using the broken development release.

If you would confirm your using the latest release , ill then investigate you problem(s) later today.

Thanks for you help.

Paul

#3

I just grabbed the latest dev (10/10) and it's the same behavior.

#4

In the latest CVS, og_content_types_admin.module says:

<?php
function _og_content_type_admin_is_admin_access_callback($nid){
 
$group = node_load($nid);
 
//$return  = (isset($group->og_selective) && _og_content_type_admin_is_admin($group)) ? TRUE : FALSE;
 
return TRUE;
  return
$return;
}
?>

Is the code right here, or just for debugging? This probably causes the tab to show everywhere.

#5

Status:active» needs review

I think I fixed this by uncommenting your line and getting rid of return TRUE;

#6

Assigned to:Anonymous» paulbooker

looking into this now ...

#7

Status:needs review» fixed

Thanks Joe,

That modification was left over from migration work . I'll have the correct version committed by the end of the week.

Best, Paul

#8

Status:fixed» closed (fixed)
nobody click here