Skip to content

sol-eng/connect-user-management

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

Email that Reports New Users on RStudio Connect

- 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

Report that Sets User Roles based on Group Membership

- 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

Chargeback Calculator

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