noosfero | invite people using auto complete (token_input_field_tag) (#436)

Rodrigo Souto gitlab at gitlab.com
Wed Jan 28 18:20:54 BRST 2015


New comment for Merge Request 436

https://gitlab.com/noosfero/noosfero/merge_requests/436#note_794407


Rodrigo Souto

This is extremelly confusing. Although it works, the logic in inverted on the "not_invite_members" due to the missing "!" above.
This should be something like: `!person.is_admin? && !person.has_persmission(:invite_members, profile) && !profile.allow_members_to_invite`

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150128/be8510ba/attachment-0001.html>


More information about the Noosfero-dev mailing list