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) »
  • Grouping Events for ACL - Drupal 6.6 + CiviCRM 2.1.2
Pages: [1]

Author Topic: Grouping Events for ACL - Drupal 6.6 + CiviCRM 2.1.2  (Read 1241 times)

yasheshb

  • I post occasionally
  • **
  • Posts: 72
  • Karma: 5
Grouping Events for ACL - Drupal 6.6 + CiviCRM 2.1.2
December 04, 2008, 03:47:24 am
Hello,

   We're working on a CiviCRM 2.1.2 (Drupal 6.6) based installation and wanted to configure the ACL's to achieve the following.

The country is dividied into 5 zones (North, West, East, South and Central)
Each zone has a set of contacts and a zonal administrator.

The permissions need to be setup so that each Zonal administrator
(for example North Zone Administrator) can edit/view contacts
for their zone.

Only they (zonal admins) can create events and memberships for thier zone.

I was able to achieve the contacts access using Static groups and ACL as described in (http://wiki.civicrm.org/confluence/display/CRMDOC/Access+Control+Context+and+Overview)

Now to achieve a simlar control over Events i can create an ACL Rule for each individual event for North zone but this would be an administrative nightmare.
Are there any other ways to group events for the purpose of Access Control ?

Thanks.

Yashesh


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: Grouping Events for ACL - Drupal 6.6 + CiviCRM 2.1.2
December 04, 2008, 05:48:58 am
Quote from: yasheshb on December 04, 2008, 03:47:24 am
Now to achieve a simlar control over Events i can create an ACL Rule for each individual event for North zone but this would be an administrative nightmare.
Are there any other ways to group events for the purpose of Access Control ?

i would create a custom field for "event zone" and populate that for each event (or you can use event type if not using that)

i would then implement a custom aclGroup hook (available in 2.1 and later) and permission based on user group and the above custom field

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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Grouping Events for ACL - Drupal 6.6 + CiviCRM 2.1.2

This forum was archived on 2017-11-26.