• Resolved torralaq

    (@torralaq)


    HI!
    We are using the plugin to allow users in a wide security group to login and have Contributor access. In a separate process, we are changing that level to Editor for some users.
    Because of how the NADI plugin works, subsequent logins cause the Contributor access to be added back to them (in addition to Editor). Unfortunately we have some plugins that limit functionality via lowest level so these users are being locked out of them.
    Is there a way I can set NADI to only set user permissions on a new user? Or not set lower permissions on a user who has a higher level configured?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author schakko

    (@schakko)

    There is no built-in option for this requirement. You can either

    1. Create a separate security group with shifting the users with lower permissions to it.
    2. or use the next_ad_int_sync_ad2wp_clean_existing_roles hook (https://docs.active-directory-wp.com/API/Synchronization.html) to decide on a per-user basis how to modify the roles.

    Thread Starter torralaq

    (@torralaq)

    Did not work…….something else kept resetting it. I had to finally use wp_login and hard remove everything but editor, but it’s working now 😐

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.