Skip to content

Example assets for using the RStudio Connect Server API to programmatically manage users and groups

License

Notifications You must be signed in to change notification settings

sol-eng/connect-user-management

Repository files navigation

Connect User Management

The RStudio Connect Server API has endpoints to manage users and groups.

This repository houses some examples that might be useful in your organization.

- Configurable "lookback" period
- Checks if any users were created within the last X days (i.e. last day)
- Shows the data for those users
- Sends an email with the user, email, and created time
- Configurable group names mapped to roles (`viewer`, `publisher`, `administrator`)
- Groups must already exist on RStudio Connect
- **NOTE: Has a `run_report` parameter that defaults to FALSE!!**
    - This report might change user authorization on your server
    - Be sure you understand what is happening before you run it!
- **NOTE: Does not work for LDAP Authentication due to current API limitations**
    - Please let us know if you want to use something like this for LDAP Authentication!
    - It just requires getting group memberships directly from LDAP (i.e. by querying LDAP directly)
- Sends an email with information about the users whose role was changed
- To run interactively, you can use "Knit with Parameters"

Knit with Parameters in the RStudio IDE

This is a simple app to calculate per-group chargebacks on RStudio Connect.

You can see a version of this app running at https://colorado.rstudio.com/rsc/chargeback-calculator/

Instructions for running this app for your RStudio Connect instance are in the README.

About

Example assets for using the RStudio Connect Server API to programmatically manage users and groups

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published