CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • How to allow user to create mailing group?
Pages: [1]

Author Topic: How to allow user to create mailing group?  (Read 944 times)

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
How to allow user to create mailing group?
June 24, 2012, 03:52:41 am
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

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to allow user to create mailing group?
June 24, 2012, 07:57:08 am

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
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: How to allow user to create mailing group?
June 24, 2012, 08:06:12 pm
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

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to allow user to create mailing group?
June 25, 2012, 06:39:13 am

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
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: How to allow user to create mailing group?
June 25, 2012, 01:15:11 pm
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.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: How to allow user to create mailing group?
June 25, 2012, 07:26:29 pm
Thanks Lobo.

Hi Petednz, we are using Drupal.  Will definitely take a look at OG.  Thanks!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: How to allow user to create mailing group?
June 25, 2012, 07:32:17 pm
sweet OG D6 and D7 are way different beasts - and D7 v 2 is getting closer which will shake things up again.

maybe want to update your forum profile for cms and versions ;-)
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: How to allow user to create mailing group?
June 25, 2012, 07:35:18 pm
Would love to use D7 with Civic 4.x  But seems Civic 4.x has a huge performance difference (as compared to 3.x).  So now we are falling back to 3.x...

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: How to allow user to create mailing group?
June 26, 2012, 06:54:29 am

r u saying 4.x is slower?

we think 4.x is a lot faster than 3.x :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

eggtart

  • I post occasionally
  • **
  • Posts: 64
  • Karma: 2
Re: How to allow user to create mailing group?
June 26, 2012, 07:11:04 am
Hi Lobo, we have both 3.x (with D6) and 4.x (with D7) installed on the same server.  3.x is noticeably faster than 4.x.  We just followed the onscreen installation process step by step.  Have we missed anything?

Thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • How to allow user to create mailing group?

This forum was archived on 2017-11-26.