RStudio Connect: LDAP Authentication

Hi,

I have established LDAP authentication on RStudio Connect. By default, all users are logged in as 'viewer' and I have to use usermanager CLI in the backend to modify permissions. What are my options in Connect to make it 'publisher' by default? Or it can only be controlled on the LDAP server side?

Thanks!

1 Like

RStudio Connect has a setting Authorization.DefaultUserRole that specifies the role given to new users. Should you want all your users to become publishers, add the following configuration:

[Authorization]
DefaultUserRole = publisher

You can read more about user roles in the Connect Admin Guide.
https://docs.rstudio.com/connect/admin/user-management.html

1 Like

It's also worth mentioning that the RStudio Connect Server API is also useful for automating user creation / membership changes, if that is desirable in any way. Note that the version of the API docs that is compatible with your version of RStudio Connect is hosted on your server under "Documentation."

https://docs.rstudio.com/connect/api/#users

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.