Change WordPress user roles and capabilities Forums Bug Reports Multistie: Brand new user doesn't get other roles.

This topic contains 2 replies, has 2 voices, and was last updated by  Vladimir 4 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5497

    EricW
    Participant

    We have a multisite installation with multiple networked sites and created custom roles and have more or less removed almost all standard roles (only admin and subscriber remain).

    When we add new users, we will always apply more than one role. So when we go into a site in a network and add a user (Users -> Add new), besides “Role” setting we are also adding roles to “Other roles”.

    The issue is when the user is saved, the other roles never applies to the user. The new user will only get one role and we have to wait until the user have confirmed the account before we can fix it.

    #5544

    EricW
    Participant

    No response? I guess I need to provide with some details:

    I run WordPress subdir multisite installation with version 5.0.3 and PHP 7.3.

    Steps to reproduce:

    1. Go to any subsite and go to “Add New” under “Users”.
    2. For “Add New User” form, fill username, email and set “Role” to subscriber. Leave “Skip Confirmation Email” unchecked. Set at least one “Other Roles”
    3. Click “Add New User”, wait for the email and activate the account
    4. Check the user account, that account will only have the subscriber role

    If however you have checked “Skip Confirmation Email”, then the account gets the roles from “Other Roles”.

    #5549

    Vladimir
    Keymaster

    I missed this topic somehow. My apologies for delay with response.
    The recent clarification is very important. I missed during development the scenario with user account activation via link sent by email and tested only interactive user creation by admin without confirmation email involved. So look at this part (activation of account with multiple roles via link from confirmation email) as a feature, which is not realized yet. I will add it definitely. I will try to make it with the next update.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.