Skip to main content

Users

Users (Beta)

Users (Beta) is a rebuilt screen for managing dotCMS users. From one list you can find any user, then create or edit users in a single dialog: their profile and access, roles, per-user permissions, and API tokens.

The Users (Beta) list, showing users with their roles, access and last login

Adding Users (Beta) to the Admin Menu#


Users (Beta) isn't in any menu by default, and there is no feature flag to enable. To make it available, add the Users (Beta) portlet to a tool group, and make sure that tool group is assigned to the roles that should see it. See Roles and Tools and Custom Tool Groups.

Once added, it appears in the menu as Users (Beta) and opens at /dotAdmin/#/users-beta. The legacy Users tool keeps its own menu item.

Who Can Use It#

Users (Beta) is intended for CMS Administrators, who can do everything on this page.

Other users can be given limited access:

To...A user who isn't a CMS Administrator needs
Open Users (Beta) and browse the listUsers (Beta) in one of their tool groups
See the Roles column and use Filter byUsers (Beta) and the Roles & Tools tool
Open a user's detailsAlso the legacy Users tool

Creating users, changing roles or Access settings, and editing, deactivating or deleting other users require the CMS Administrator role. A user without it who tries any of these sees an Access denied message, and nothing is changed.

Finding Users#


The list shows each user's key details at a glance:

  • User: name, user ID, and an Inactive label for users who can't log in.
  • Email
  • Roles: the roles assigned directly to the user, including Back-end User and CMS Administrator. Long lists end with "and N more".
  • Access: labels for CMS Administrator, Back-end and Front-end users.
  • Last login: date and time; blank if the user has never logged in.

To narrow the list:

  • Search by first name, last name, full name, email address, or user ID. Partial matches count, and case doesn't matter.
  • Filter by access: All access, Back-end, Front-end, or CMS Administrator. This filter only appears for users who can see roles (see Who Can Use It).
  • Sort by clicking the User, Email or Last login column header. By default, the list is sorted by last login, most recent first, with users who have never logged in at the end.

Use the controls at the bottom of the list to page through results and to show 20, 40 or 60 users per page.

The Filter by menu, with All access, Back-end, Front-end and CMS Administrator options

Click any row to open that user for editing.

Creating a User#


  1. Click New.
  2. On the Profile tab, fill in First name, Last name and Email address.
  3. Enter a Password and Confirm password, or click Generate secure password to fill both fields with a random 12-character password. Passwords must be at least 6 characters.
  4. Leave Active on so the user can log in.
  5. Under Access, turn on the access the user needs (see Access Settings).
  6. Optionally, fill in Additional information (Prefix, Suffix, Title, Company, Website) and assign roles on the Roles tab.
  7. Click Create User.

The Permissions and API Tokens tabs are available once the user has been created.

The Create User dialog, Profile tab

Editing a User#


Click a user in the list to open their dialog. Its title is the user's name, and it has four tabs: Profile, Roles, Permissions and API Tokens. Changes on the Profile and Roles tabs are saved together when you click Save Changes; the Permissions tab saves on its own (see Permissions Tab).

To see more at once, click the full-screen icon in the dialog's header.

Profile Tab#

The top of the Profile tab shows the user's User ID, Last Login (with the IP address it came from), and number of Failed Logins.

Below that you can change the user's name, email address and additional information. To change their password, enter a new one in both password fields; leave them blank to keep the current password.

Turn Active off to stop a user from logging in without deleting them. Inactive users keep all their data and are labeled Inactive in the list.

The Profile tab for an existing user, showing user details and the Account section

Access Settings#

The Access section controls where and how the user can sign in:

SettingEffect
CMS AdministratorFull administrative access to every tool and site.
Back-end UserCan log in to the dotCMS admin (back office). Turn this on for anyone who needs to work in dotCMS.
Front-end UserCan log in on front-end sites and member areas.
Show Getting StartedShows the Getting Started panel after the user logs in.

The first three settings grant or remove the corresponding system roles. Because they're managed here, those roles don't appear on the Roles tab.

The Access section of the Profile tab

Roles Tab#

The Roles tab has two panels: Available roles on the left and Granted roles on the right. Each panel has its own filter box.

  • To grant roles, check them under Available and click the right arrow.
  • To remove roles, check them under Granted and click the left arrow.

Checking a parent role selects all the roles under it that can be granted. Roles that can't be granted directly have no checkbox.

Role changes take effect when you click Save Changes.

The Roles tab, with Available and Granted panels

Permissions Tab#

The Permissions tab sets the user's own permissions on specific sites and folders, using the same permission screen as the legacy Users tool. Changes made here are saved within the tab, so Save Changes is disabled while it's open.

For how permissions work, see Permissions and User Permissions.

API Tokens Tab#

API tokens let a user authenticate to the dotCMS REST and GraphQL APIs. The tab lists the user's active tokens with their label, issue and expiration dates, who requested them, and the network they're limited to (any means no restriction). Turn on Show inactive to include revoked and expired tokens.

The API Tokens tab, listing active and revoked tokens

Requesting a Token#

  1. Click Request New Token.
  2. Enter a Label that describes what the token is for.
  3. Set the Expires Date.
  4. Optionally, restrict Allow Network (CIDR) to the addresses the token may be used from, for example 10.0.0.0/8. The default, 0.0.0.0/0, allows any address.
  5. Click Request.

A dialog shows the new token. Copy it now: click the copy button next to the token, store it somewhere safe, then click Accept. dotCMS shows a token only once, when it's created. After you close the dialog, the token can't be viewed again, from this screen or through the API.

The new token then appears in the list.

The Request new API token dialog

If a Token Is Lost or Exposed#

A token can't be retrieved after its dialog is closed. If a token is lost, or may have been seen by someone who shouldn't have it:

  1. Request a new token, as above.
  2. Update the integration or script that used the old token.
  3. Revoke the old token.

Revoking a Token#

Click Revoke on the token's row and confirm. The token stops working immediately. Revoking can't be undone.

Revoked tokens stay in the list (with Show inactive on) for reference. They can't be deleted from this screen.

Deleting Users#


When you delete a user, you choose a replacement user who takes ownership of the deleted user's content, sites and assets. Nothing owned by the deleted user is lost.

To delete one user:

  1. Open the user and, on the Profile tab, click Delete User.
  2. Under Replacement user, search for and select the user who will take over their content.
  3. Type the deleted user's email address to confirm.
  4. Click Delete User.

The Delete user dialog, with Replacement user and email confirmation

To delete several users:

  1. Check the users in the list.
  2. Click Delete above the list.
  3. Choose a Replacement user. It can't be one of the users you're deleting.
  4. Click Delete.

Deleting a user can't be undone.

Push Publishing Users#


To send users to another dotCMS environment:

  • One user: hover over the row, click the â‹® menu, and choose Push Publish or Add to Bundle.
  • Several users: check them in the list and click Push Publish or Add to Bundle above the list.

Push Publish requires an Enterprise license and at least one push publishing environment. See Pushing Users and Push Publishing.

Differences from the Legacy Users Tool#


Users (Beta) covers most of what the legacy Users tool does, with a few differences:

  • Not yet available in Users (Beta): exporting users, and editing a user's time zone, language, and additional information (JSON) fields. Use the legacy Users tool for these.
  • Admin login: there is no separate "can log in to the admin" setting. Back-end User controls whether a user can log in to the dotCMS admin.
  • API tokens can be revoked but not deleted.