# Access Manager

The Access Manager module in XoroERP enables administrators to manage user privileges by granting or restricting access to specific modules across the system. Each user is assigned a role (e.g., Admin, Accounting, Warehouse), which comes with predefined privileges. However, if a user requires access beyond their assigned role, administrators can customize their permissions using the Access Manager module, ensuring precise control over system access.

### User

A user is an individual who uses the Xoro system. A user’s access can be edited in the Access Manager, defining their system privileges and level of accessibility.

A user can have two types of access levels: Role-based & Custom.

#### Role-based Access

Within the XoroERP system, we've established a range of pre-defined roles. Each role is granted a specific set of privileges, and subsequently, a role is linked to a user profile. For instance, an Accounting role typically includes access to functionalities like Accounts and Journal Entry.

XoroERP includes a set of predefined roles, each with a specific set of privileges. When a user is created, they are assigned a role that determines their system access. For example, a user with the **Accounting** role typically has access to functionalities like Accounts and Journal Entry.

A role’s privileges can be edited in the Access Manager. Additionally, user roles can be changed from the "**User"** module if adjustments to access levels are needed.

#### How to update Role privileges?

* Go to the Access Manager module. Select 'Role' as the “Access Recipient Type” and pick the role from the “Recipient” dropdown.

  <figure><img src="/files/zsKkj4zIwV8hYJ7QQduo" alt=""><figcaption></figcaption></figure>
* Select the privileges you want to assign to the Role and click on “Grant Access”.

  <figure><img src="/files/TMifDjUyVmDYRM7gE69E" alt=""><figcaption></figcaption></figure>
* The set of privileges will be automatically granted to the users who are assigned this role.

#### Custom Access

A user's role/privileges can be customized as per the business needs. For instance, a sales rep can be granted accounting privileges in addition to their regular access.

#### How to grant the Custom Access to a user

* In the Access Manager module, choose "User" from the dropdown and select the intended user.&#x20;

  <figure><img src="/files/xwWvL49QHyznQRy2IawX" alt=""><figcaption></figcaption></figure>
* Under the “Set Access Levels” section, opt for the “Custom” radio button.&#x20;

  <figure><img src="/files/Mtpm2TR9SotzvyBXT8tc" alt=""><figcaption></figcaption></figure>
* Select the privileges to grant to the User and click on “Grant Access”.

  <figure><img src="/files/xCouboTwajIFjLeFltds" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note that the custom access has to be set up from scratch.
{% endhint %}

### Profile

If you want to create a set of privileges for a user without creating a new role, create a profile instead. This profile can then be assigned to other users.

#### &#x20;How to create a profile

* Access the Access Manager module and choose "Profile" as the Access Recipient Type.

  <figure><img src="/files/7sBgKp9sZyyPTXh53aJW" alt=""><figcaption></figcaption></figure>
* In the "Set Access Levels" section , pick the desired access levels and click "Save as new."

  <figure><img src="/files/HIybsi3TJby3Cb8bhxrs" alt=""><figcaption></figcaption></figure>
* Enter the profile name and click on "OK" to save the profile.

  <div align="left"><figure><img src="/files/1A63LjADWTisqHyYxezw" alt=""><figcaption></figcaption></figure></div>

#### How to assign the Profile to the User

* In the Access Manager module, select “User” from the dropdown menu and pick the intended user to assign the profile.

  <figure><img src="/files/Nwu5XRqgXRoWBvWrcJvl" alt=""><figcaption></figcaption></figure>
* Under the “Set Access Levels” section, opt for the “Custom” radio button.
* Select the profile from the dropdown menu from the right corner of the screen and click on “Load”.
* The set of privileges corresponding to the selected profile will be loaded for the user. Then, click on “Grant Access” to assign the profile to the user.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/admin/access-manager.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
