noosfero | WIP: Improvements on AccessLevel class, in order to center how noosfero display content to users. (!1361)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Dec 21 17:25:11 BRST 2017


Rodrigo Souto started a new discussion on app/models/article.rb:

>    scope :display_filter, lambda {|user, profile|
>      return published if (user.nil? && profile && profile.public?)
>      return [] if user.nil? || (profile && !profile.public? && !profile.in_social_circle?(user))

Let's remove this social circle check.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1361#note_52286885
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171221/19159f0b/attachment.html>


More information about the Noosfero-dev mailing list