Commit 9630118f0fb6f1c516e4a0641919a65bb2e8c33a
1 parent
2595dfa8
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Disable permission check
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) | ... | ... |