Default Role for New Users
-
First of all, great plugin.
Second, I see an issue when the system creates a new user in WordPress and assigns it a role. Currently, the role that is assigned is always “Subscriber” event when we changed the setting under Settings > General > New User Default Role.
We created a new role to make it clear to other users that the an appropriate role has to be manually selected. This new role is called *Please assign a role*. When an account gets created, the new user gets assigned 2 roles automatically, Subscriber and *Please assign a role*.
I checked the code to see what was happening and came across this line on file “Manager.php” (Line 137):
$wordPressRoles = array('subscriber');
I think instead of writing ‘subscriber’, it should look for the default value in the WordPress options.
Anyhow, we were able to overcome this issue by going to Active Directory Integration > Configuration > Permissions > Role equivalent groups:
Security group: Domain Users
WordPress role: -toassign (ID for *Please assign a role*)
- The topic ‘Default Role for New Users’ is closed to new replies.