relaxdiego/redmine_backlogs — Issue #279: Destory  Redmine Code Review's plugin menu
Author: alminium
Created: 2011-10-13 09:43:32+00:00
State: open

Backlogs destrory Code Review Plugin's project setting.

http://www.r-labs.org/projects/r-labs/wiki/Code_Review_en

As far as I investigated, following code in projects_helper.rb has problem:

```
def project_settings_tabs
tabs = [{:name => 'info', :action => :edit_project, :partial => 'projects/edit', :label => :label_information_plural},
{:name => 'modules', :action => :select_project_modules, :partial => 'projects/settings/modules', :label => :label_module_plural},
{:name => 'members', :action => :manage_members, :partial => 'projects/settings/members', :label => :label_member_plural},
{:name => 'versions', :action => :manage_versions, :partial => 'projects/settings/versions', :label => :label_version_plural},
{:name => 'categories', :action => :manage_categories, :partial => 'projects/settings/issue_categories', :label => :label_issue_category_plural},
{:name => 'wiki', :action => :manage_wiki, :partial => 'projects/settings/wiki', :label => :label_wiki},
{:name => 'repository', :action => :manage_repository, :partial => 'projects/settings/repository', :label => :label_repository},
{:name => 'boards', :action => :manage_boards, :partial => 'projects/settings/boards', :label => :label_board_plural},
{:name => 'activities', :action => :manage_project_activities, :partial => 'projects/settings/activities', :label => :enumeration_activities}
]
tabs.select {|tab| User.current.allowed_to?(tab[:action], @project)}
end
```

Above code seems just override menu and when code review plugins menu is added before, the menu disappear.
Another point, in spite of above code exists, I couldn't find boards menu in project settings. Simple resolution is just removing project_setttings_tabs method.

Code Review Plugin is useful as same as backlogs. Cloud you fix it?

BTW, I'm not expert of redmine and backlogs. If I misunderstand, pardon me.

best regards,

ALMinium Project