]> source.dussan.org Git - redmine.git/commit
Fixed: User#allowed_to? returning true in any case if array of projects had only...
authorJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Wed, 6 Oct 2010 05:08:31 +0000 (05:08 +0000)
committerJean-Baptiste Barth <jeanbaptiste.barth@gmail.com>
Wed, 6 Oct 2010 05:08:31 +0000 (05:08 +0000)
commite59c927ee52d3f40a467e7ca6db7f7fcc2db425f
tree1e1daee8cd499d4fe33c4239da3b1664cceb0225
parente13790c62c800a5b6d9528b5e2db2aad2c5e3710
Fixed: User#allowed_to? returning true in any case if array of projects had only one item (#5332)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4233 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/user.rb
test/unit/user_test.rb