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) »
  • civicrm_acl_role ... don't seem to have one! Where should I look?
Pages: [1]

Author Topic: civicrm_acl_role ... don't seem to have one! Where should I look?  (Read 6771 times)

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
civicrm_acl_role ... don't seem to have one! Where should I look?
July 24, 2013, 02:29:40 am
At first glance this question may look completely moronic, please bear with me...

I'm implementing CiviCRM ACL for the first time manually - we used to use Drupal Organic Groups and the OG sync component.

I have a whole lot of roles left over from the OG sync that I would like to get rid of in one fell swoop using a MySQL client.

I expect to find a table called civicrm_acl_role

But there isn't one in the database.

Everything is working well - and when I delete manually there are no complaints. I can also add acl roles, assign them and all is well.

In the acl table I can see civicrm_acl_role listed as an entity table

Why can I not see the table?

I should add that I am fairly competent with SQL and can clients comfortably.

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: civicrm_acl_role ... don't seem to have one! Where should I look?
July 24, 2013, 02:33:12 am
Correction...

When deleting manually I am getting an error "Sorry Selected Acl Role type has not been deleted."

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: civicrm_acl_role ... don't seem to have one! Where should I look?
July 24, 2013, 01:54:24 pm

the acl role is stored under the civicrm_option_group / civicrm_option_value set of tables

search for a group with name acl_role (typically id == 8 or so)

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

myles

  • I post frequently
  • ***
  • Posts: 263
  • Karma: 11
Re: civicrm_acl_role ... don't seem to have one! Where should I look?
July 25, 2013, 10:05:56 am
Briliant - thanks Lobo

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • civicrm_acl_role ... don't seem to have one! Where should I look?

This forum was archived on 2017-11-26.