OSDN Git Service

Make sure user can not watch what he is not allowed to view.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 13 Dec 2009 14:48:28 +0000 (14:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 13 Dec 2009 14:48:28 +0000 (14:48 +0000)
commit9a452a5c351f4bffb80dee3df5a4fb6a3800ca17
tree3de36bea82cd1596bc50bc483e9285e62e896ca9
parentbb477a3a0fe71f0e15b78b6e0fafb017065fba26
Make sure user can not watch what he is not allowed to view.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3170 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/watchers_controller.rb
test/functional/watchers_controller_test.rb