• I need to limit the promotional power of a given role. For example, role A should only be able to change role B to C and C to B.

    I know that your plugin provides for limitation on the roles that are viewable, as I’ve done that. On that note, I’d also like to disable profile views (and edits) of those roles while still allowing the userlist view and role change.

    Unfortunately, user A is still able to promote roles all the way to Admin level, which is not good (for my purposes anyway).

    Is there a filter I could use to limit the “Change role to…” dropdown menu list items to only specific roles?
    Or, would I have to modify the core WP files to get this done?

    If the latter, then consider this (and disabling profile view while allowing userlist view and promotion) as feature requests.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter IT Hertz

    (@it-hertz)

    Or, how about assigning a role based on the UM Action?

    For example, when user A approves user B, user B is automagically promoted to a different, corresponding role.
    If rejected, deactivated or set as pending review, user B is changed to the corresponding role.

    Actually, role swaps wouldn’t be necessary if we could set access to content based on status (approved, rejected, etc.).

    Thread Starter IT Hertz

    (@it-hertz)

    I was pointed to this filter by the URE author: editable roles

    So, that part of the question is answered.
    Browsing the WP hooks, it seems blocking the view/edit links for other users’ profiles from specific roles which happen to have limited admin access should be doable.

    I’m leaving open the other part to the thread: content access based on UM user status.

    Plugin Support Ultimate Member Support

    (@ultimatemembersupport)

    Hi @it-hertz

    Sorry for the late response. You can only set roles to restrict content. Let’s see if others in the forum have done something similar and share their solutions here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘promote (change to) limitations’ is closed to new replies.