• Resolved STEVE

    (@solernet)


    I just upgraded to UM version 2.0.4 and I need some clarification as to the changes made in regards to roles. Do things still work the same, as in the user has a WP role and also a UM Community Role, that can also sync with each other?

    Or have you taken a different approach. If so, I need to understand what has changed and how it works now. The UM User Roles page (/wp-admin/admin.php?page=um_roles) is confusing the heck out of me. I now see some duplicated roles. Is this a combined list of both WP roles and UM roles?

    Do we still need to have two separate roles, one for WP and one for UM?

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jon

    (@freshyjon)

    They updated UM so that it now uses actual WordPress “roles” instead of a separate “community role”. So now your users will have multiple roles in some cases… instead of a WordPress role and a UM Community Role.

    Thread Starter STEVE

    (@solernet)

    So what is the best way to clean up the roles? Should I assign users a WP role only and do away to the UM role? I really don’t understand the logic behind this change. I wish the developer would have explained this change before or with the release of the upgrade.

    Thanks

    [ Please do not bump. ]

    Thread Starter STEVE

    (@solernet)

    OK, so I’ve figured this one out on my own and want to post what I learned to help anyone one else asking the same question.

    I discovered a support doc published the day after I posted this question to the support forum. It’s titled “New Roles Logic” and located here: https://docs.ultimatemember.com/article/1328-new-roles-logic

    Basically it all boils down to this…

    Version 2.0 and above is phasing out UM Community Roles and the sync between UM community roles and WP roles. When you upgrade, your users may now have multiple roles associated with them, especially if you had WP Roles and UM roles with the same name (at least that was my experience). What I did personally to clean up the roles, was I went and assigned the appropriate WP Role to all users and won’t be using the UM roles going forward. This worked for me, but before anyone does anything, I DO RECOMMEND YOU READ that support document I linked above BEFORE YOU MAKE ANY CHANGES AND MAKE A BACKUP OF YOUR WP INSTALL FIRST. That document linked above has way more detail that may be specific to your unique situation and will help prevent you from breaking anything.

    Good luck. Hope this helps.

    Or, do what STEVE has suggested but do it on a test version of the site first. Just going to try this now.

    Update: I went to Ultimate Member roles and deleted all roles that started with ‘um’ leaving just the built in WP roles. This has worked fine, the only issue I needed to fix was some of the links in menus disappeared for logged in users as the roles that could view them were the old ones, a quick update in Menus to the new roles and all is working fine. Thanks for the info Steve.

    I’ll say it again too, I did this in a test version of my site first, not the live one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘What has changed with roles in version 2.0.4?’ is closed to new replies.