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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Where are the WordPress Access Control Settings Stored?
Pages: [1]

Author Topic: Where are the WordPress Access Control Settings Stored?  (Read 2464 times)

aglozier

  • I post frequently
  • ***
  • Posts: 135
  • Karma: 9
    • Phoenix Academy
  • CiviCRM version: 4.7.9
  • CMS version: WordPress 4.6.1
  • MySQL version: 5.7.14
  • PHP version: 5.6.21
Where are the WordPress Access Control Settings Stored?
July 05, 2013, 08:39:16 am
I copied my production database to a test site and I noticed that the WordPress Access Control settings aren't moved with the database.  When I clone my production website the settings are moved.

Thus I conclude that the WordPress Access Control settings aren't store in the database; they are stored in some file instead.  Which file is it?

Rajesh

  • I post occasionally
  • **
  • Posts: 78
  • Karma: 10
  • CiviCRM version: 4.2.x, 4.3.x, 4.4.x
  • CMS version: Drupal 7.xx, Wordpress 3.5.x - 3.6.x, Joomla 3.1
  • MySQL version: 5.5.20
  • PHP version: 5.3.10
Re: Where are the WordPress Access Control Settings Stored?
July 08, 2013, 03:11:06 am
WordPress Access Control settings for CiviCRM are not stored in CiviCRM database. They are stored as capabilities in some wordpress table [didnt figure out which table it is :)]. CiviCRM uses wordpress functions (add_cap , remove_cap) to add/remove capabilities/permissions.

By default, wordpress doesnt come with any functionality for you to manage the capabilities/permissions. You may need some additional plugin (like http://wordpress.org/plugins/capability-manager-enhanced/) to manage the capabilities/permissions for the Wordpress roles.

Hope this helps.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Where are the WordPress Access Control Settings Stored?

This forum was archived on 2017-11-26.