Commit d829f145d43f82403250c76d7ba11c4639e047a4

Authored by Victor Costa
1 parent 5911b3bf

Revert "Disable permission check"

This reverts commit 9630118f0fb6f1c516e4a0641919a65bb2e8c33a.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/api/helpers.rb
... ... @@ -47,7 +47,7 @@ module Noosfero
47 47  
48 48 def find_article(articles, id)
49 49 article = articles.find(id)
50   - #article.display_to?(current_user.person) ? article : forbidden!
  50 + article.display_to?(current_user.person) ? article : forbidden!
51 51 end
52 52  
53 53 def find_task(tasks, id)
... ...