2

By Default WordPress only lets users/admins set a single role per user. This is done by a dropdown on the user's profile (in WP).

However, additional roles can be added, either by using a plugin or with custom code. This works fine on the WP side granting the user the capabilities of all roles that they are added to.

The question is how does CiviCRM handle this? Does it read all roles and give the user the rights of all roles? I am testing this now, but would like any insights from others that have done this.

What have others done in this case? I don't want to create a ton of WP roles and even though CiviCRM ACLs are available, the end user won't be able to manage that.

2 Answers 2

2

I did testing today on this and from what I can tell, when setting a second user role in WP CiviCRM will read the security settings from both roles. It is optimistic security in that if one of the user roles has 'administer CiviCRM' and the other does not, the user can administer CiviCRM.

2
  • I guess this is a good argument for using capabilities instead ;-) Commented Jul 30, 2015 at 14:13
  • Too many caps :) Commented Jul 30, 2015 at 14:45
0

Not a WP expert but there are settings per role via this url wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Faccess%2Fwp-permissions&reset=1

which you also find via Administer > Users and Permissions > Permissions (Access Control) and then a link near the top to "WordPress Access Control"

1
  • Thanks Peter, My question is will find all roles assigned to a user. If so, the screen you reference will work fine. I am testing it now but wanted to get feedback if anyone had done this before. Commented Jul 23, 2015 at 11:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.