]> source.dussan.org Git - redmine.git/commit
Adds visibility checks on version views (#27676).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 29 Nov 2017 19:37:20 +0000 (19:37 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 29 Nov 2017 19:37:20 +0000 (19:37 +0000)
commitcd75ba33e9eddce1b27e1f872b4271d8a8847ef0
treeba15bccabd0a8bdcd97fc0b4ec6a079579cec49e
parent96a854a4b31c1b8f2a70a40fbe20856818023d9d
Adds visibility checks on version views (#27676).

Previously not all data on the roadmap and version view where properly
checked against the issue visibility setting. Unprivileged users were
able to see the total number of issues, their estimations and the
open/close status - even if the user was only allowed to see their own issues.

Patch by Gregor Schmidt.

git-svn-id: http://svn.redmine.org/redmine/trunk@17051 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/helpers/versions_helper.rb
app/views/versions/_overview.html.erb
app/views/versions/show.html.erb