Project

General

Profile

Actions

Code Review #221

closed

anonymousで活動が表示されないのは

Added by Haru Iida almost 12 years ago. Updated almost 12 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Target version:
Start date:
10/28/2009
Due date:
10/29/2009
% Done:

100%

Estimated time:
Code review: /trunk/plugins/redmine_hudson/app/models/hudson_build.rb@345:line 30

Description

ここでpermissionが指定されていないからだと思います。

以下のように変えてみてください。

acts_as_activity_provider :type => 'hudson',
                             :timestamp => "#{HudsonBuild.table_name}.finished_at",
                             :author_key => "#{HudsonBuild.table_name}.caused_by",
                             :find_options => {:include => {:job => :project}},
                                :permission => :view_hudson

Related issues

Is duplicate of Hudson - Defect #218: Anonymous can't see acitivity. (アノニマウスだと活動が表示できない)終了(Closed)Toshiyuki Ando10/28/200911/08/2009

Actions
Actions

Also available in: Atom PDF