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) »
  • Need Help with Multi-level Organization ACL Permission
Pages: [1]

Author Topic: Need Help with Multi-level Organization ACL Permission  (Read 522 times)

ivykong

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.1
  • CMS version: Jooma 1.7
  • MySQL version: 5.5
  • PHP version: 5.3.8
Need Help with Multi-level Organization ACL Permission
September 06, 2012, 10:20:45 am
I am building a site for a university which will need to use multi-level ACL. This is similar to the case in NZ Green Party,
  • Staff at university Provost's office has access to all faculty or students contact records,
  • College dean has access to all faculty or students contact records within its college,
  • Department chair has access to all faculty or students records within its own department.
I am trying to follow the instruction on this page about multi-level organization ACL permission  at wiki.civicrm.org/confluence/display/CRMDOC41/Multi-level+Organization+ACL+Permissions, and the post about permission hooks at  wiki.civicrm.org/confluence/display/CRMDOC41/CiviCRM+hook+specification#CiviCRMhookspecification-Permissionrelatedhooks.

However, before I come to the point to create a hook, the system doesn't allow me to use the the same field names in different custom field groups. I can't use the same fields (college, department) for the region and permissions group of custom fields.  Therefore, I assume the codes from the hook_civicrm_aclWhereClause won't work...

Anybody has suggestion how to make this work?

Thanks.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Need Help with Multi-level Organization ACL Permission

This forum was archived on 2017-11-26.