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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • ACL role assignment via API v3
Pages: [1]

Author Topic: ACL role assignment via API v3  (Read 524 times)

nickholden

  • I post occasionally
  • **
  • Posts: 111
  • Karma: 1
  • CiviCRM version: 4.4.1
  • CMS version: Drupal 7
  • MySQL version: 5.5.32
  • PHP version: 5.4
ACL role assignment via API v3
October 03, 2012, 03:48:53 am
Can someone please indicate how to assign a specific ACL role to a specific group of users via the API?

I've got groups of contacts created, and the respective ACL groups created also, using 'OptionValue,create' calls. But where in the data structures is the next step stored, where the role is assigned to the group?

Likewise, I cannot find a way to use the API to allocate specific permissions to an ACL group.

Thanks,

Nick

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: ACL role assignment via API v3
October 03, 2012, 07:13:35 am

pretty sure the ACL's dont have an API created for them as yet

Would be great if you can add API's for ACL creation et al along with unit tests to validate those API's

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) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • ACL role assignment via API v3

This forum was archived on 2017-11-26.