Commit 689745312fbf8661967b2dfeb67ce64de3284dcd
1 parent
d829f145
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Revert "Revert "Disable permission check""
This reverts commit d829f145d43f82403250c76d7ba11c4639e047a4.
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) | ... | ... |