[Git][noosfero/noosfero][master] public_access_restriction: allow access to natiomnal_regions controller to avoid failure on signup

Rodrigo Souto gitlab at mg.gitlab.com
Thu Jun 21 14:26:44 BRT 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
43628748 by Rodrigo Souto at 2018-06-21T17:26:31Z
public_access_restriction: allow access to natiomnal_regions controller to avoid failure on signup

- - - - -


1 changed file:

- plugins/public_access_restriction/lib/public_access_restriction_plugin.rb


Changes:

=====================================
plugins/public_access_restriction/lib/public_access_restriction_plugin.rb
=====================================
@@ -20,6 +20,7 @@ class PublicAccessRestrictionPlugin < Noosfero::Plugin
       (profile && environment.is_portal_community?(profile)) ||
       params['controller'] == 'account' ||
       params['controller'] == 'home' ||
+      params['controller'] == 'national_regions' ||
       params['controller'] == 'public_access_restriction_plugin_public_page' ||
       linked_on_portal_news(environment, params, profile) ||
       show_newsletter(environment, profile)



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/4362874854bbec53ee2d65189e19565b474c745d

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/4362874854bbec53ee2d65189e19565b474c745d
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/20180621/0095f49a/attachment-0001.html>


More information about the Noosfero-dev mailing list