I’m doing a migration of sso on my website, as a result a very few of the user accounts which were created long back ago are not acting as expected. Duplicate accounts are being created for these few accounts which are in old format. Since these are only few accounts, i decided to migrate the old account’s privilleges and content (literally anything attributed to the old account) to the new one.
The only issue is that I cannot do it like on a normal wordpress website as the delete the account and transfer privillege option is not available on the wp admin dashboard for me as mine is a highly customised website. How do we transfer the privilleges from the backend using wp cli ?