noosfero | Fixes newsletter access (!1608)

Rodrigo Souto gitlab at mg.gitlab.com
Wed Sep 5 15:02:54 BRT 2018


Rodrigo Souto started a new discussion on plugins/public_access_restriction/lib/public_access_restriction_plugin.rb:

>        where(reference_article_id: article.id).first.present?
>    end
>  
> -  def show_newsletter environment, profile
> +  def show_newsletter? environment, params

You shouldn't replace this logic. The previous logic is to be maintained and what you did should be added as a new condition for the above OR.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1608#note_99188503
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/20180905/99898954/attachment.html>


More information about the Noosfero-dev mailing list