Skip to main content

User Management

User accounts in Posit Connect associate users from an authentication provider with a set of capabilities (default role plus content specific permissions). Posit Connect can integrate with different authentication providers (as described in the Authentication section), with varying degrees of customization / control for general user attributes.

Within Connect, every user account is configured with a role that controls their default capabilities on the system. User permissions to access and manage content which has been published to the Posit Connect server varies. These permissions depend on what role has been granted to a user’s account by the content owner (the account that published the content to the server).

The Authorization.DefaultUserRole property specifies the role for new accounts and defaults to viewer. Authorization.DefaultUserRole can be either viewer or publisher. New accounts are not permitted to automatically have the administrator role. For all authentication providers, the first user is always created as administrator.

See the usermanager section more information about CLI commands for user management. These commands include options to list and alter users or groups, and transfer items to another user or group.

Note

There are no restrictions regarding roles for the users created via the Connect Server API.

User roles

User accounts can be assigned any of the following roles, with the exception of Anonymous, which is the role which non-authenticated users are assigned automatically.

  • Administrator
  • Publisher
  • Viewer
  • Anonymous

The role of Administrator requires system permissions and access typically only available to IT support staff. Data scientists, analysts, and others working with data science and analytics will most likely want Publisher roles as they need to publish content to the server. Users who view or consume the published content are likely to need only Viewer roles but in some cases when viewing unrestricted content, can use Anonymous access (in which case, they will not have an account within Posit Connect).

Note

Your external authentication provider might be able to return user profile information that maps to valid user roles in Posit Connect. For example, the user’s position or department might be available as part of the user attribute returned during authentication and these could be leveraged to select a user role. Further details specific for each authentication provider can be found within the Authentication section.

Administrator

Administrative users on Connect are empowered to inspect and manage various settings on the server. Regardless of their level of privilege on some piece of content (Viewer, Collaborator, or neither), Administrators can manage Collaborators and Viewers on content with the content:update-permissions permission. With the content:update-override permission, they can also manage the runtime settings for applications and APIs, and adjust the schedules for executable reports. Modifying the RunAs settings (User Account for Processes) for content requires the content:update-runas permission, which by default only the Administrator role holds. Administrators can also modify Vanity URLs for content. They can make these modifications even when they don’t have the ability to view the content. Content owners and collaborators can delete content if their role holds the content:delete permission, which the Publisher and Administrator roles hold by default. Administrators can delete any content with the content:delete-override permission. Administrators can also deploy content to Connect in the same capacity as a Publisher.

Administrators are not automatically added to content and do not see all content on their homepage unless they select the All Server Content view. Administrators do not have implicit rights to view content or download the source bundles. If an administrator visits a report without viewership privileges to the report, a request access page displays rather than the report’s content. Despite being unable to see the contents of the report, Administrators can still manage the settings for all content. An Administrator can manage the collaborators and viewers of any content on the system. To gain access to the report, an Administrator can add themselves as a Viewer, Reviewer, or Collaborator. Administrative overrides of permissions on content require that the Administrator take an explicit action which is captured in the audit log.

Connect Administrator accounts do not need to have privileged access to the systems where Connect is installed. The system administrators who manage Connect installations do not need to have Connect Administrator accounts. Many organizations have overlap between systems administrators and Connect Administrators, but it is not required.

Publisher

Accounts with a Publisher role can deploy content into Posit Connect. They are able to configure settings and access controls associated with the content they have published. Publishers can help manage another user’s content when made a Collaborator of that content. By default, they can also modify Vanity URLs for content they own and collaborate on, through the Publisher role’s vanities:create and vanities:delete permissions. Administrators can revoke these permissions. See the permissions the Publisher role holds by default.

Important

By default, Publishers cannot add new users or groups to Posit Connect, because the Publisher role does not hold the users:create and groups:create permissions. Manage these two capabilities by granting or revoking role permissions. If your use case requires Publishers to have these permissions, please see the section on Publisher Ownership of Groups, and Users Provisioned By Publishers on the Advanced User / Group Topics appendix.

Viewer

Accounts with Viewer roles can be added as a viewer to specific content. Viewers can sign into the Connect dashboard. They can discover and access content listed for Anyone, All users - login required, and content for which they are granted access. They can access the settings associated with any of the content they are able to view. Viewers can also email themselves copies of documents they are permitted to see. On a new installation, the Viewer role does not hold the users:read and groups:read permissions, so viewers cannot list the other users and groups in Posit Connect. See the permissions the Viewer role holds by default.

With the roles:request permission, which every role holds by default, Viewers can request Publisher permissions. From the Content page of your dashboard, click Publish. The Request Publisher Permissions dialogue opens. Click Request. Your Administrator must approve the request before Publisher permissions are granted. A Publisher whose role cannot publish content but holds the roles:request-permission permission sees Request permission to publish instead, which asks your Administrator to grant that permission to the Publisher role.

Note

Publishers and administrators can list all the other existing users. Viewers can list them only when the Viewer role holds the users:read and groups:read permissions. A new installation’s Viewer role lacks both, and an upgraded server keeps the permissions its Viewer role already held; see Customizing user roles.

Anonymous

An Anonymous visitor to Posit Connect who is not authenticated with the system can view content that has been marked as viewable by anyone. Anonymous viewers access content through direct URLs and will not have any view into Connect.

Customizing user roles

Administrators can customize the default capabilities of user roles with the People > Roles page of the Connect dashboard, or by granting or revoking role permissions with an administrator API key. The same capabilities will apply to every user with a given role.

A few permissions can only be held by the Administrator role, because each lets its holder act on other users’ accounts, roles, or credentials, or on the server itself, in a way that could reach administrator access, bypass an access list, or reveal data the holder could not otherwise see, such as visits to every content item or the logs of content they cannot open.

The Publisher and Viewer roles can be granted or revoked any role permission except the following, which only the Administrator role holds:

Permission Description
users:update Modify user accounts
users:delete Remove users
users:lock Lock and unlock user accounts
users:update-profile Modify another user’s names, email, username, and avatar
users:reset-password Send another user a password reset link
users:update-provider-fields Modify a user’s identity-provider-managed fields via the API
users:create-api-key Create API keys for other users
users:export Export the user list as CSV
content:read View any content regardless of its access list
content:read-settings View any content’s settings, logs, and access list regardless of its access list
content:update-permissions Manage any content’s access list regardless of its access list
content:update-override Modify any content’s settings, including its variants, schedules, runtime, git repository, and access type up to the administrator limit, regardless of its access list
content:delete-override Remove any content regardless of its access list
vanities:read View every vanity URL, including for content the caller cannot otherwise see
bundles:build-override Build bundle environments for any content regardless of its access list
bundles:read-override View any content’s bundles and their tags regardless of its access list
bundles:update-override Add and remove tags on any content’s bundles regardless of its access list
bundles:delete-override Remove any content’s bundles regardless of its access list
environments:use-override Use any execution environment regardless of its access list
oauth-integrations:read-associations View which content an OAuth integration is associated with, bypassing per-integration ACLs
identity:manage Manage users and groups
roles:read View roles and the permissions they grant
roles:create Create roles
roles:update Modify roles and the permissions they grant
roles:delete Remove roles
system:update-runtimes Choose which installed runtime versions content may use
system:diagnostics Download a server diagnostic bundle
system:audit-logs View audit logs and available audit actions
system:custom-messages View and modify custom messages
system:storage View content and server storage usage, including for content the caller cannot otherwise see
instrumentation:read Read content visit and Shiny usage data
environments:update-permissions Manage execution environment access lists
oauth-integrations:read-sessions View any user’s OAuth integration sessions
oauth-integrations:delete-sessions Remove any user’s OAuth integration sessions
oauth-integrations:create Create OAuth integrations
oauth-integrations:delete Remove OAuth integrations
oauth-integrations:update Modify OAuth integrations, including their tags
oauth-integrations:verify Test OAuth integration credentials
oauth-clients:delete Remove OAuth clients
packages:read View the server-wide package inventory, including for content the caller cannot otherwise see
jobs:read View every schedule and job statistics, including for content the caller cannot otherwise see
groups:read-ownership View which content items a group has access to, including content the caller cannot otherwise see
service-tokens:create Create service tokens
service-tokens:delete Remove service tokens

For every permission and whether the Viewer and Publisher roles hold it on a new installation, see Role permissions. Both the Roles page and the API report which permissions each role holds.

Every user can open the People > Roles page to see the permissions of their own role. A user whose role holds the roles:request-permission permission can click Request next to a permission their role lacks. Only the Administrator role holds it by default, so grant it to the Viewer or Publisher role to let their users request permissions. Connect notifies the users who can change role permissions, and the request links to that permission on the role’s page.

A viewer sees the other members of a group only when the Viewer role holds both groups:read and users:read. If the Viewer role lacks either permission, a viewer sees only themselves in the groups they belong to.

Each permission the Viewer role holds must also be held by the Publisher role. To grant a permission to the Viewer role, grant it to the Publisher role first, and to revoke a permission from the Publisher role, revoke it from the Viewer role first. When current user execution uses the Connect nameservice, the nameservice lists every user to processes on the server, so users:read cannot be revoked.

The bundles:upload permission controls only direct bundle uploads. Revoking it does not affect Git-backed deployments or trusted publishing.

The following settings are deprecated, and the Viewer and Publisher role permissions they governed replace them:

Setting Role Permission
Authorization.PublishersCanAddUsers Publisher users:create
Authorization.PublishersCanOwnGroups Publisher groups:create
Authorization.PublishersCanManageVanities Publisher vanities:create and vanities:delete
Authorization.PublishersCanManageRunAs Publisher content:update-runas
Authorization.PublishersCanUploadBundles Publisher bundles:upload
Authorization.ViewersCanOnlySeeThemselves Viewer users:read and groups:read
Authorization.ViewersCanRequestPrivileges Viewer roles:request
Server.HideEmailAddresses Viewer and Publisher users:read-email
Server.HideViewerDocumentation Viewer documentation:read

The first time Connect starts, on a new installation or after an upgrade, it applies the value of each of these settings to the role permissions. A setting the configuration file does not set applies its default. If an earlier release already applied the [Authorization] PublishersCan* settings to the Publisher role, Connect keeps the Publisher role’s current permissions for those settings. After that, Connect ignores all of these settings, and logs a warning at each startup while one of them is still set. Change these permissions on the People > Roles page or with the roles API instead. See the release notes for Posit Connect 2026.09.0 and Posit Connect 2026.11.0 for details.

Note

In an HA environment with multiple Connect nodes, it may take up to 30 seconds for changes to user role permissions to propagate to all nodes.

User permissions

The functionality available to any user for any specific piece of content depends upon their default role and the specific permissions they have been granted. Permissions modify the user’s role downward (becoming more restrictive) for a specific piece of content (i.e., a Publisher can become a Collaborator, Reviewer, or Viewer, or have no access).

Users with the content:update permission (by default, Publishers and Administrators) can grant access to content that they either own or have been added as a Collaborator for. Administrators can add themselves as Collaborators to any content on the system. Depending on the content specific access settings, Publishers and Viewers might only have Viewer access or even no access to the content.

The effect of the permissions granted depend on the type of content. Base role permissions are used for general access to the Posit Connect dashboard although what is visible within the dashboard is a result of the permissions granted to the user.

All content

In general, the permissions available to a user follow the abilities outlined in the role descriptions. For example, a Publisher who only has Viewer rights would experience the permissions granted to the Viewer role for a specific piece of content.

Executable reports

Access controls and user privileges apply to every public version of a report. For example, if the default version of a report is accessible to Anyone, all public versions are accessible to Anyone.

Anonymous Visitors
Every version of a report has a unique URL (accessible by opening the content with ‘Standalone’). Reports must be listed for Anyone for the URL to be available to anonymous users.
Viewers
Viewers have the ability to view a report through the Connect dashboard. They can discover and toggle between public versions of a report. They can email themselves the current version of a report. They can not see parameters for different versions of a report. They can see the distribution and schedule for public versions.
Collaborators
Collaborators have the privileges of Viewers and additionally can: view parameters for public versions, change parameters and run ad hoc reports, create new versions, schedule versions, setup distribution lists, and request reports to be refreshed. Collaborators can also create private versions that are not discoverable or accessible by any other user.
Publisher
The Publisher who published the content to the Posit Connect server is considered the owner of the content. They have full control over all functionality associated with the content.

Applications & APIs

Collaborators
Collaborators can change the runtime settings for applications and APIs.

Access requests

When users attempt to view content they don’t have permission to access, Connect displays a Request Access page. Users can request viewer, reviewer, or collaborator access, and the content owner receives an email notification. Requesting access requires the roles:request permission, which every built-in role holds by default. Users can request collaborator access only if their role holds the content:update permission.

Notification settings

By default, access request notifications are sent to:

  • The content owner (always)
  • All content collaborators

To limit notifications to only the content owner, set the Applications.NotificationsToOwnerOnly configuration option to true.

Additional users can receive access request notifications by configuring the Notifications section. See the Email configuration for details.

Approving access requests

Access requests are approved implicitly when the requester is granted access to the content. There is no explicit “approve” or “deny” action for access requests. Instead:

  • When an owner, collaborator, or administrator adds the requesting user to the content’s access list, the pending request is marked as approved and the user receives an email notification.

  • When a group that contains the requesting user is granted access to the content, any pending requests from members of that group are automatically approved. Each affected user receives an email notification (subject to the notification settings described above).

Note

When access is granted via group membership, the approval email shows the administrator who added the group as the person who “shared” the content. This may differ from the content owner who originally received the access request notification.

Administrator access

Administrators who encounter a Request Access page for content they do not have permission to view have two options. They can select Request Access to ask the content owner, the same way other users do. They can also select Gain Access to grant themselves access immediately. Connect records the Gain Access action in the audit log with details about the administrative override.

Administrators cannot view content or download source bundles until they have access to the content. This ensures that all administrator access to restricted content is auditable.

Account management

Adding accounts

Accounts can be either created upon first login or provisioned ahead of time. Details and capabilities differ by authentication provider. Please refer to the specific chapter for the product / provider you are integrating with.

User renaming

Administrators can alter the usernames of existing users on the system regardless of the current authentication system. Users can still access their deployed content and content that has been shared with them. If they have existing vanity URLs with their username incorporated, none of those are altered. They will, of course, need to use the new username when logging in.

If the user has authenticated inside of the RStudio IDE, they can still deploy using a previous connection; however, the IDE continues displaying their old username during deployments. To minimize the risk of future ambiguity, we recommend that the user disconnect and reconnect their IDE to Posit Connect so that the valid username is displayed.

Locked accounts

You can prohibit a user from accessing Posit Connect by locking their account.

Locked users are prohibited from signing into Posit Connect, deploying content, and otherwise interacting with the service.

Locking an account from the dashboard

Administrators lock and unlock accounts from a user’s profile page:

  1. Click People in the Connect dashboard.
  2. Click the name of the user you want to lock.
  3. Select the Locked checkbox below their avatar.

Connect applies the change as soon as you select the checkbox. There is no separate save step. Clear the Locked checkbox to unlock the account.

Connect might ask you to confirm your password before applying the change. Enter your password to continue.

You cannot lock your own account from the dashboard.

To see which accounts are locked, set the Status filter on the People page to Locked.

Note

Unlocking fails when the additional active user exceeds the user account limit specified by your Connect product license.

Locking an account outside the dashboard

You can also lock and unlock accounts without using the dashboard:

Effects of locking an account

Locking an account does not delete it, and deployed content remains available. Scheduled content owned by a locked user continues to execute according to its schedule. However, a locked user no longer receives scheduled content at their email address.

Content owned by a locked user can be deleted by a collaborator or by an administrative user. Each piece of deployed content must be deleted individually; there is no bulk removal.

A locked user can be subsequently unlocked. All their previously allowed abilities are immediately restored.

Locked users do not count against the user account limit specified by the Posit Connect product license.

Your Posit Connect Software License only allows for locked accounts to permanently terminate access. If you need to purchase additional users, please speak to your dedicated Posit Customer Success contact or email .

Removing accounts

Removing accounts from Posit Connect is considered a last resort option.

Users are kept around so the content and groups they might own, as well as the historical and audit information associated with user is not left without a reference.

For these reasons, locking accounts is the preferred option.

If the decision is to remove the account, use the usermanager CLI tool. The removal process requires that the user does not own anything in Posit Connect. It’s possible to transfer the user’s assets to another user ahead of the account removal. This transfer is also possible with the usermanager.

Operational metrics will still refer to the removed user account. See the Operational Metrics section for details about what information is being tracked.

Once the user account is removed, the only place where the user information can still be found is in the audit logs. See the Audit Logs section for details.

Exporting users to CSV

Administrators can export user data from the People page by clicking the Download CSV button. The export respects any filters currently applied (role, account status, or search prefix).

The exported CSV file includes the following fields:

  • guid - The user’s unique identifier
  • email - The user’s email address
  • username - The user’s username
  • first_name - The user’s first name
  • last_name - The user’s last name
  • user_role - The user’s role (administrator, publisher, or viewer)
  • created_time - When the user account was created
  • updated_time - When the user account was last updated
  • active_time - When the user was last active
  • confirmed - Whether the user has confirmed their account
  • locked - Whether the user account is locked