noosfero | WIP: Adds follower relationship when assigning a role (!1241)
Gabriel Silva
gitlab at mg.gitlab.com
Thu Jun 15 14:19:35 BRT 2017
New Merge Request !1241
https://gitlab.com/noosfero/noosfero/merge_requests/1241
Project:Branches: gabrielssilva/noosfero:follow_on_role_assign to noosfero/noosfero:master
Author: Gabriel Silva
Assignee:
Currently, the `follow` method is called manually for every action that requires it (like adding members in a community). This MR adds the action creation to a filter in RoleAssignment, so there is no risk of forgetting to trigger the follow relationship.
It also adds a migration to create followers from RoleAssignments that for some reason did not create.
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1241
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/20170615/44c1f7cd/attachment.html>
More information about the Noosfero-dev
mailing list