Bug #569

"Activity in My Projects" shows publications added to other peoples' projects too

Added by Chris Cannam about 12 years ago. Updated about 12 years ago.

Status:ClosedStart date:2013-01-23
Priority:NormalDue date:
Assignee:Chris Cannam% Done:

0%

Category:-
Target version:-

Description

Thanks to #540 we now have publications listed in Activities.

But there doesn't appear to be any discrimination by project -- if a publication is added to a project and I have visibility of that project, I will see the publication in my "Recent Activity in My Projects" list even though it's not one of my projects.

History

#1 Updated by Chris Cannam about 12 years ago

I see there is a line intended to handle this, at vendor/plugins/redmine_bibliography/app/views/activities/_recent.html.erb:20:

e.projects.map {|p| user.member_of? p }

#2 Updated by Chris Cannam about 12 years ago

Should be

e.projects.map {|p| user.member_of? p }.any?

Fixed in 8675fa03326d

#3 Updated by Chris Cannam about 12 years ago

  • Status changed from New to Closed

Also available in: Atom PDF