Awesome! So glad to hear that you got things working!! Two options are probably your best bet here. You can:
- Use the
usermanager CLI to make your new account an admin
- Migrate the old admin / user accounts (or all content from the old admin account / user accounts) to the new authentication scheme. That is articulated in the article here:
NOTE that once all content owned by the old accounts has been removed or migrated to new accounts, you can also use the
usermanager CLI to delete accounts. If you are using a SQLite database (the default), then you have to stop RStudio Connect in order to use the
I hope that helps! Please let us know if you have any follow-up questions on this topic! It is an area we are trying to actively improve our documentation, as many customers have run into this challenge!
EDIT: If you have not specified
LDAP.GroupUniqueIdAttribute, we would definitely recommend doing so. It protects you against DN changes, which will require manual intervention otherwise.
We talk about the process for doing so a bit here: https://docs.rstudio.com/connect/admin/authentication.html#authentication-ldap
Since you have LDAP authentication already working (and if you have it already working with DN), then you will want to use the
usermanager alter --users --update-ids-using DN command after setting the
UniqueIdAttribute in the
There are examples in the admin guide for all of this as well.