Support (offered by community volunteers) > Post-installation Setup and Configuration
How to allow user to create mailing group?
eggtart:
Let's say Operator A belongs to an Operator Group that has Edit rights to Contact Group A. He selected a few contacts from Contact Group A and put them into a new group, say New Group, for future mailing. But since there is no ACL that binds Operator Group to New Group, Operator A is not able to see the group that he/she has just created. How can we resolve that? If not, how can we allow operator to set up mailing groups for their own use?
Any help would be greatly appreciated.
Donald Lobo:
2 options:
1. implement a post hook (or postProcess hook) on group creation to create the right ACL to give contact group A permissions to the new group on creation
2. The next step would be how to generalize the code so this could be a U tweakable parameter on the Civi admin screens or somewhere so it happens by default. We have a similar situation for contacts. A contact created by the person should be editable also
lobo
eggtart:
Thanks Lobo for the quick response. I think we will try to implement the post hook.
Just curious, isn't this a common usage situation? Where the user has to put contacts into groups before he/she can send mass email to them. But with ACL defined to control what group(s) this user can access, this cannot happen unless we - do as you suggested - add a post hook to dynamically grant access right of this newly created group to the user group.
Thanks!
Donald Lobo:
I think in most cases with ACL's so far, users dont create groups. They use the existing groups
ACL stuff can be improved significantly, IMO
lobo
petednz:
eggtart - drupal or joomla?
if drupal may be worth looking at what you can do by bringing OG in to the mix since it gives you flexibility on who can set up Groups, and if using the OG - Group synch, each OG gets an equivalent civi group with ACL all set up.
Don't have the exact recipe for you but may be a workaround worth exploring.
Navigation
[0] Message Index
[#] Next page
Go to full version