# User Management

> Invite users, define roles with view, edit, delete and export permissions, organise teams, make someone super admin and remove users in Advanzo CRM.

The users you add to Advanzo CRM are the sales agents who work with potential clients and manage the deals.

You can create an unlimited number of users and give them roles with permissions that match each sales agent's duties.

## Create a User

- Go to **Settings -> Users**.
- Click **Create User**.
- Enter the user's name, email and role.
- Click the **Password** tab and set the user's login password.
- Click the **Localization** tab.

  Here you configure the localisation settings of the user, for example timezone, locale, first day of the week and date format.

  Most of these options, such as locale, first day of the week and date format, are filled in automatically with the values from the general system settings.
- Click **Notifications** to turn individual notifications on or off.
- Click **Create**.

## Roles

Advanzo CRM has a flexible system of roles and permissions, so that you can structure access according to each user's responsibilities in your organisation. A user can have several roles, and each role has specific permissions for various actions in the CRM. These permissions determine what a user can do.

1. **Identify Necessary Roles**: Determine the roles that your organisation's sales workflow needs.
2. **Define Permissions**: Define clearly which permissions each role needs to do its tasks.
3. **Assign Roles to Users**: Assign the roles to users according to their job responsibilities.
4. **Review and Adjust**: Review and adjust roles and permissions regularly, so that they stay relevant as jobs change or new features are added to Advanzo CRM.

> **Warning:** We strongly recommend giving your users appropriate roles and adjusting the role permissions to each user's responsibilities in your company's sales workflow.

### Create a Role

To create a role, go to **Settings -> Users->Roles** and click the "Create Role" button.

Give the role a name and select its permissions. Each permission is explained below.

### Role Permissions

### Contacts, Companies, Deals, Documents

- **View**

    - **Owned Only** - The user can view the records they are assigned to.
    - **Team Only** - The user can view all records owned by the teams they manage.
    - **All** - The user can view all records.
- **Edit**

    - **Owned Only** - The user can edit the records they are assigned to.
    - **Team Only** - The user can edit all records owned by the teams they manage.
    - **All** - The user can edit all records.
- **Delete**

    - **Revoked** - The user is not authorised to delete any records.
    - **Owned Only** - The user can delete the records they are assigned to.
    - **Team Only** - The user can delete all records owned by the teams they manage.
    - **All** - The user can delete all records.
- **Bulk Delete** - If granted, the user can perform bulk delete actions in the list view on all records they are authorised to view.
- **Export** - *for applicable resources*

    - **Revoked** - The user cannot export resource records.
    - **Granted** - The user can export the resource records they are authorised to view.

### Team Only permission

Imagine your company has several teams, each with one manager and several sales agents.

Each manager needs to see all records of their team, NOT all records of the company.

One manager can manage several teams and then needs to see all records owned by these teams.

To set up this scenario, follow the steps below:

1. Create a new role, for example: Team Manager.
2. For the resource records that the team manager should view/edit/delete, select the **Team Only** capability.
3. Save the role.
4. Create a new team, for example: "Energy Team".
5. For this team, select the team manager user (e.g. John Doe) and add users to the team.
6. Edit the team manager user (John Doe) and apply the "Team Manager" role.

The team manager can now view, edit and (if granted) delete all records owned by the users of the teams they manage.

> **Warning:** NOTE
> 
> If you add an admin account to a team and give a regular user permissions to manage team records, that user can view/edit/delete the records of the admin account as well.

### Shared Inbox

If you grant a role access to the **Shared Inbox**, users with this role can use the shared company email accounts created in Advanzo CRM.

In most cases, these email accounts are general email addresses such as sales@company.com or info@company.com.

> **Warning:** When you give access to the **Shared Inbox**, be aware that the whole team can access the shared email accounts: every team member can view the emails and interact with them.

## Teams in Advanzo CRM

With teams you manage groups of users, give them specific permissions and create detailed reports.

### User Affiliation with Teams

- **Team Membership**: Each user in Advanzo CRM can be part of a team with a designated team manager.
- **Applications**: Use teams to manage permissions and to create specific reports, for example deals by team and deal status.

### Adding a Team

To create a new team in your CRM:

1. **Navigate to Team Settings**:

    - Go to **Settings -> Users -> Teams**.
2. **Create a Team**:

    - Click **Add Team**.
    - Fill in the team's name, manager, and members.
    - Optionally, include a team description.
    - Click **Create**.

### Filtering by Teams

- **Access to Filters**:

    - Super admins can filter by all company teams.
    - Regular users can filter only by their own teams or the teams they manage.

#### Using Team Filters

- **Example**:

  In the deals table, apply a filter for deals expected to close "This Week" and with "Open" status, belonging to "My Team".

On this screen

- **Owner Team** is equal to **Sales Team**
- **Status** is equal to **Open**
- **Expected Close Date** is **This Week**

## Invite a User

1. **Open the invitation.** Go to Settings → Users and click Invite User.
2. **Enter the email address.** The user signs in with this address. Choose roles and teams if needed.
3. **Send it.** Click Send Invitation. The link expires after 3 days or once the user has signed up.

You can invite a user/sales agent to sign up to your Advanzo CRM installation instead of adding the user manually.

To invite a user, go to **Settings -> Users** and click the **Invite User** button.

1. Enter the user's **email address**. The user logs in with this address, and the invitation is sent to it.
2. If needed, choose **roles** for the user.
3. If needed, choose **teams** for the user.
4. If needed, enable **Super Admin** and **API Access**.
5. Click **Send Invitation**.

The **Invitation Created** [mail template](https://www.advanzo.ch/docs/sections/mail-templates) is sent to the invited user.

> **Warning:** The invitation link expires after 3 days or once the user has signed up.

## User Timezone

### Timezone Per User Feature

In Advanzo CRM, each sales agent has their own timezone setting.

#### Importance for Global Teams

- **Worldwide Collaboration**: Sales agents around the world can work together without timezone conflicts.
- **Personalised Settings**: Each user's timezone is set to their local time, so they see all dates and activities in their own timezone.

This feature is important for global teams, because it keeps coordination and scheduling reliable.

## Super Admin User

### Role of Super Admins

Super admins have unrestricted access and control in Advanzo CRM: they can perform any action and view all data.

#### Setting Up Super Admins

- **Initial Setup**: The first user in a fresh Advanzo CRM installation is automatically a super admin.
- **Adding More Super Admins**:

    1. Go to **Settings -> Users**.
    2. Click **Create User**.
    3. In the **Advanced** tab, toggle the Super Admin option.
    4. Click **Create**.

## Delete a User

- Go to **Settings -> Users**.
- In the table, select the user you want to delete by ticking the checkbox in front of the user name.
- Choose the **Delete User** action.
- Select another user to whom the user's data is transferred.
- Click **Confirm**.

When a user is deleted, Advanzo CRM must transfer some of the user's data to another user. Data that can safely be deleted is deleted; the following data is transferred:

- Products the user created.
- Web forms that the user created.
- Workflows that the user created.
- Shared [filters](https://www.advanzo.ch/docs/sections/filters) that the user created and shared with other members.
- Predefined mail templates the user created.
- Shared email accounts that the user created.
- Activities the user created and activities assigned to the user.
- Deals the user created and deals assigned to the user.
- Companies the user created and companies assigned to the user.
- Contacts the user created and contacts assigned to the user.
- Calls that the user logged.
- Notes that the user added.
- Documents that the user created and documents assigned to the user.
- Document "sent by user id" and "document marked as accepted" user id indicators.
- The teams that the user manages.
