User Administration

RhodeCode Enterprise enables you to define permissions for users, user groups, repositories, and repository groups from the permissions panel. By default, RhodeCode Enterprise allows users to see and read all public repositories and repository groups. All user permissions are based on the default user rights set by the user group they are a member of.

The following list explains each of the roles for which permissions can be set.

  • A single user can have None, Read, Write, or Admin permissions. New users are automatically assigned the default permissions for the group of which they are a member.
  • You can enable anonymous user access to RhodeCode Enterprise
  • A user group can have None, Read, Write, or Admin permissions. By making a user a member of a user group, their permissions are set by the group settings.
  • A single repository can have None, Read, Write, or Admin permissions. You can also revoke a user’s repository access from the permissions panel.
  • A repository group can have None, Read, Write, or Admin permissions. By making a repository a member of a repository group, the default permissions for that repository are inherited from the group.

Note

User and repository access permissions can be configured explicitly, and those permissions will override any default settings.

Add New Users

To create a new user, use the following steps.

  1. Select Admin -> Users in the top menu
  2. Select the Add User button at the top right
  3. Set the user’s credentials
  4. Select Save to create the new user

Anonymous Users

By default, RhodeCode Enterprise provides repository access for registered users only. It can be configured to be world-open in terms of read permissions. This configuration is called “Anonymous Access” and allows RhodeCode Enterprise to be used as a public hub where unregistered users have access to your repositories.

Anonymous access is useful for open source projects, Universities, and if RhodeCode Enterprise is running inside a restricted internal corporate network to serve documents to all employees.

To set anonymous user access, use the following steps:

  1. From the RhodeCode Enterprise interface, select Admin -> Repositories
  2. Select edit beside the repository you want to edit
  3. Select Permissions and check the Anonymous Access box
  4. Select Save

Note

If activated, all anonymous users will get the default user configuration. They will have access to all repositories which provide permissions to the default user. The default configuration of RhodeCode Enterprise automatically sets these permissions for all non-private repositories but this can be changed if you have administrator permissions.

Set Default Permissions

You can set default permissions in RhodeCode Enterprise. This means that when a new repository, user group, or user is created their default permissions are already defined.

Note

To set default permissions you need administrator privileges.

To set the default permissions, use the following steps.

  1. From the RhodeCode Enterprise interface, select Admin -> Permissions
  2. Select Global from the left-hand pane to view permissions settings
  3. From the permissions setting interface you can set permissions for the following categories; repository, repository group, and user groups. You can also specify the following settings:
    • Enable or disable anonymous access.
    • Set a default registration page message.
    • Enable or disable default user ability for the following functions:
      • Create a new repository
      • Create a new repository group
      • Create a new repository with write access for the creator’s user group
      • Create a new user group
      • Fork a repository
      • Automatic or Manual account registration and approval
      • Automatic or Manual external account registration and approval
  4. Save your changes

Set repository Access

To set the repository permissions for a user or user group, use the following these steps:

  1. From the RhodeCode Enterprise interface, select Admin -> Repositories
  2. Select edit beside the repository you want to edit
  3. Select Permissions and the +add button
  4. Add the user group, and choose between none, read, write, and admin permissions
  5. Click Save

Set User Group repository Access

To set User Group repository permissions, use follow these steps:

  1. From the RhodeCode Enterprise interface, select Admin -> User Group
  2. Select Add User Group
  3. Enter a group name and description and select Save
  4. Select edit beside the new User Group
  5. Click Default Permissions, and deselect Inherit from defaults
  6. Set your required User Group permissions and select Save