• 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*)

Viewing 1 replies (of 1 total)
  • medan123

    (@medan123)

    Hello @forfe15,

    the problem is that the “Settings > General > New User Default Role.” option seems to only exist for WordPress Single Sites as far as I know.

    I will add this to our internal issue board so we can discuss this matter.

    Best regards,
    medan123

Viewing 1 replies (of 1 total)
  • The topic ‘Default Role for New Users’ is closed to new replies.