另外说明,project_tree_view最新下载已经改换地址了,redmine中的版本已经不是最新的,最新的版本应该是0.0.4,但是问题依然存在,需要修改,最新地址为:https://github.com/cforce/projects_tree_view" />
当前位置: 代码迷 >> Access >>

另外说明,project_tree_view最新下载已经改换地址了,redmine中的版本已经不是最新的,最新的版本应该是0.0.4,但是问题依然存在,需要修改,最新地址为:https://github.com/cforce/projects_tree_view

  详细解决方案

另外说明,project_tree_view最新下载已经改换地址了,redmine中的版本已经不是最新的,最新的版本应该是0.0.4,但是问题依然存在,需要修改,最新地址为:https://github.com/cforce/projects_tree_view

热度:5327   发布时间:2013-02-26 00:00:00.0
redmine 1.1.3安装project_tree_view的bug修复403 You are not authorized to access this

bug描述

?

?

project_tree_view是redmine的一个插件,可以允许将redmine中的项目按照目录树的方式显示,更加的直观,但是此插件bug,安装此插件之后,在点击到项目首页后,点“详情”“报表”,会出现如下错误:

?

?

中文错误

403

对不起,您无权访问此页面。

Back

英文错误

403 You are not authorized to access this page

?

?

解决

?

?

vendor/plugins/projects_tree_view/app/views/projects/show.rhtml (lines 115-116)中的如下内容:

    <p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'details', :project_id => @project}) %> |    <%= link_to(l(:label_report), {:controller => 'timelog', :action => 'report', :project_id => @project}) %></p>

修改为如下:

    <p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'index', :project_id => @project}) %> |    <%= link_to(l(:label_report), {:controller => 'time_entry_reports', :action => 'report', :project_id => @project}) %></p>?

?

第二步、重启redmine,问题解决

?

特别提醒

?

?

?

?

此问题真是恶心,困扰了我大概4个月了, 终于解决了,谢天谢地,欢迎交流redmine使用新的,解决之法。

微博:weibo.com/wmcxy

mail:fcq111@sina.com

?

作者:无名程序员

微博:weibo.com/wmcxy

blog:wmcxy.iteye.com

转载请注明原作者,谢谢配合!

?

  相关解决方案