I work with a large multisite that uses a plugin that allows LDAP authentication. We would like to clean up roles for users who are now longer have accounts in Active Directory, just to keep things clean. I wrote a script that will do this using wp-cli.

I noticed that the WordPress Multisite documentation says that:

By design, all users who are added to your network will be guests on all sites on your network.

That, to me, indicates, that the user id could still be used for post attribution, even if all roles have been stripped. If I remove all roles from a user on a sub-site, including the 'subscriber' role, will that disrupt post attribution?

Has anyone else dealt with this or another similar situation?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.