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 »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Adding smart groups to ACL
Pages: [1]

Author Topic: Adding smart groups to ACL  (Read 617 times)

mbrown555

  • I’m new here
  • *
  • Posts: 21
  • Karma: 1
  • CiviCRM version: 3.3
  • CMS version: Drupal
  • MySQL version: 5
  • PHP version: not sure
Adding smart groups to ACL
February 03, 2011, 09:58:16 am
Hi
Is there something in the works to add smart groups to ACL?
This would be helpful because I would like people that have an coach relationship (added to a coach smart group) to have access to aset of data. As I assign them as a coach they would automatically be added to the smart group thus automatically added to the ACL group.

The criteria could then be anything, like a group of people who live in a city have access to a set of data. ect.

Any thoughts? And would this be difficult to get developed?
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: Adding smart groups to ACL
February 03, 2011, 10:43:10 am

this is not on our current road map.

A couple of options:

1. You can potentially do this via the ACL hooks today. PHP/MySQL knowledge required

2. You can sponsor this development for core. If i had to guess this is approx a 30-50 hour project. The main issue is ACL's do a fair amount of caching for optimization and  smart groups basically breaks all that. so we'll need to rework the caching layer

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Adding smart groups to ACL

This forum was archived on 2017-11-26.