Project

General

Profile

Code Review #221

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

Added by Haru Iida over 10 years ago. Updated over 10 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)10/28/200911/08/2009Toshiyuki Ando

Actions
#1

Updated by Toshiyuki Ando over 10 years ago

  • Due date set to 10/29/2009
  • Status changed from 新規(New) to 解決(Resolved)
  • Target version set to 1.0.1

できました!
どうもありがとうございました :)

#2

Updated by Toshiyuki Ando over 10 years ago

  • % Done changed from 0 to 100

I forgot to add this ticket to comment log. ;<
コメントログにこのチケット入れるの忘れてしまった…。

#3

Updated by Toshiyuki Ando over 10 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)

よさそうなので終了。

Also available in: Atom PDF