Connect: Admin User with LDAP authentication

Hi,

As per the documentation, in connect's native password based authentication, first user to sign up is always the admin user. But what happens when we are using LDAP authentication? Does first-user-is-admin still hold?

Also, what happens with LDAP authentication in HA load balanced connect environment?
Thanks!

These are fantastic questions! That is exactly right - the first user to log in is always an admin, regardless of auth provider. That is mentioned briefly in the "Sign In!" section here, for more context:

https://docs.rstudio.com/connect/admin/getting-started.html#initial-configuration

The first account will be marked as an RStudio Connect administrator. Please use this account to configure mail sending. These settings are necessary in order for Connect to be able to distribute reports and notify users of errors running their content. Connect also sends confirmation messages when using the default password auth provider.

On a HA setup, you just have to remember that we are talking about the Connect database. In an HA load balanced Connect environment, all servers are using the same database, so the first user to log into any of the Connect nodes will become the "first login" admin.

The second and further users will have their role chosen from the "DefaultRole"

If you need to change any of this after the fact, you can use the usermanager CLI to change user roles. You can also use the Connect UI to change user roles (once you are an admin), or the Connect Server API.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.