Manage users and role permissions
Overview
In DocLake, a user's Role decides what they can do: whether they can enter the Admin Center, which admin pages they can view or change, and which libraries they can search. Every user belongs to one role.
User Management has two tabs:
- User: create accounts, assign roles, and disable or delete accounts
- Roles: create custom roles and set their page permissions and Accessible Libraries
Only the built-in Admin role can open User Management. A custom role can't manage users and roles, even with Admin Access turned on and all five pages set to RW.
What you'll learn
- Create a user and assign a role
- Give a role access to libraries
- Create a custom role, such as a "library manager" who manages only certain libraries
- Disable and delete users
Estimated time: about 15 minutes
Applies to
- DocLake 1.0.0 and later
Before you begin
- Your account has the built-in Admin role
- You have created the libraries you want to open to your colleagues
What can each role do?
DocLake has two built-in roles. For needs in between, such as "manage only a few libraries" or "view search analytics only", create a custom role.
| Admin (built-in) | Member (built-in) | Custom role | |
|---|---|---|---|
| Use Search and AI Assistant | Yes | Yes | Yes |
| Accessible libraries | All libraries | Libraries whose Access Permission includes Member; none by default | Any library, or selected libraries |
| Enter the Admin Center | Yes | No | Yes, when Admin Access is on |
| Admin Center pages | All RW | None | Set per page to None, RO, or RW |
| User Management, and setting a library's Access Permission | Yes | No | No |
| Role settings can be changed | No | No | Yes, all of them |
| Can be deleted | No | No | Yes; its members move to the Member role |
The five admin page permissions for a custom role:
| Page | What RO (read-only) allows | What RW (editable) adds |
|---|---|---|
| Library | View libraries, documents, and index tasks | Create, change, and delete libraries; upload files; reindex and cancel indexing |
| Data Source Connector | View data sources and browse folders | Add, edit, and delete data sources |
| Model Connection | View model sources and model assignments | Add and change model sources; assign models |
| Reply Settings | View reply settings | Change settings; use Preview Answer |
| Search Analytics | View all records and export them | Same as RO |
None means the page is hidden.
Step 1: Give a role access to libraries
New users belong to the built-in Member role by default, and the Member role starts with access to no libraries. How you grant access depends on the role:
- Member (built-in): the role's settings can't be changed. Instead, go to the library's Settings tab, select Member under Access Permission, and save. You can also select it when you create the library
- Custom role: select the libraries in the role's settings, as follows
- Go to the Admin Center, then Governance → User Management
- Switch to the Roles tab, select the custom role, and click Edit
- Under Accessible Libraries, choose Selected libraries and select the libraries to open
- Click Save
A library's Access Permission and a role's Accessible Libraries are the same setting. A change on one side updates the other.

Step 2: Create a user
- Switch to the User tab and click Add
- Fill in the fields as shown in the table
- Click Create
| Field | Value | Rules and notes |
|---|---|---|
| Username | The account name used to sign in | Required. 2–32 characters, using only letters, numbers, -, ., and _. Must not match an existing account, and a match that differs only in case still counts as a duplicate. Can't be changed after creation |
| The user's email address | Optional. If entered, it must not match another account | |
| Password | The initial password | Required. 8–64 characters, with at least one letter, number, and symbol. Must not match the username or email |
| Confirm Password | The password again | Required |
| Role | The role the user belongs to | Defaults to Member |
When the user is created, the page shows "User Created". The user's Name defaults to the username and can be changed with Edit. Give the user their username and initial password, and remind them to change the password in Profile Settings after signing in.

Step 3: Create a custom role (if needed)
Create a custom role when different departments need different libraries, or when you want some people to help with administration:
- Switch to the Roles tab and click Add
- Fill in Role Settings as shown in the table
- Click Create Role
| Field | Value | Rules and notes |
|---|---|---|
| Role Name | For example, "Legal Reviewer" | Required, up to 64 characters. Must not match an existing role (case-insensitive) or the name of a built-in role |
| Description | The role's purpose and scope | Optional |
| Admin Access | When on, this role can enter the Admin Center | Off by default |
| Page permissions | For each of Library, Data Source Connector, Model Connection, Reply Settings, and Search Analytics, choose None (no access), RO (read-only), or RW (editable) | Applies only when Admin Access is on. When it's off, all five pages are None |
| Accessible Libraries | Any library, or Selected libraries and then the libraries you select | Members can search and browse only the selected libraries. By default the role can't access any library |
After creating the role, edit users on the User tab and change their Role to it. The role's Members tab lists only its current members; you can't add or remove members there.

Step 4: Edit, disable, or delete a user
Edit a user:
- On the User tab, select the user and click Edit
- Change the Name, Email, Role, or Status
- Click Save
After a role change, the user doesn't need to sign in again. The new permissions apply from their next action.
Disable a user: In Edit User, set Status to Disabled. The user is signed out everywhere at once and can't sign in again. After you set it back to Active, the user must sign in again.
Delete a user:
- Select the user and click Delete
- In the Delete User dialog, click Delete
Deletion can't be undone, and the account can no longer sign in to DocLake. The user's past search records stay in Search Analytics. You can later create a new user with the same username.
Step 5: Delete a custom role (if needed)
- On the Roles tab, select the custom role and click Delete
- In the Delete Role dialog, click Delete
The role's members move to the Member role, and the role is removed from every library's Access Permission. The built-in Admin and Member roles can't be deleted.
If a user forgets their password
DocLake has no password reset, and administrators can't view or change a user's password. Delete the user, create the user again with the same username, and give them a new initial password.
The re-created account is a new account. The user's favorites, search history, and AI Assistant conversations are not kept.
Troubleshooting
| Message | Possible cause | What to do |
|---|---|---|
This username is already taken. | The username matches an existing account, even if only the case differs | Use another username |
This email is already in use. | The email matches another account | Use another email, or leave it empty |
This role name already exists. | The role name is a duplicate, or matches a built-in role | Use another name |
The system must keep at least one administrator | You tried to disable or downgrade the last administrator | First make another user an Admin |
You cannot change your own role or status. | You tried to change your own role or status | Ask another administrator to do it |
Built-in roles cannot be changed or deleted. | You tried to change or delete the Admin or Member role | Create a custom role instead. To open a library to Member, select it in the library's Access Permission |
| The user sees no libraries after signing in | The user's role has no library access | Grant access as in step 1 or step 3 |
Too many failed sign-in attempts. Try again in N minute(s). | The account failed to sign in 5 times in a row and is temporarily locked. While it's locked, even the correct password doesn't work. Each further failure doubles the lockout, up to 15 minutes | Wait until the time shown has passed, then sign in with the correct password. Admins can't lift the lock by hand. If you can't remember your password, see "If a user forgets their password" on this page |
Related articles
Reply style
Set the AI's tone, level of detail, output format, and system prompt in Reply Settings, and test the result with Preview Answer before saving
Search analytics
Check usage, response times, and user feedback for file searches and AI Q&A in Search Analytics, review the documents an AI answer cited, and export the records

