# Manage User Roles & Permissions

Managing user roles, permissions, and objects in **IAM (Identity and Access Management)** allows administrators to precisely control **what each user can access and perform** within ONEWEB applications.

These operations are restricted to **Admin users** to ensure centralized governance and compliance.

***

### Prerequisites

Before managing roles and permissions, ensure that:

* You are logged in with **Admin privileges**
* The user account has already been created
* Required roles, permissions, and objects exist in the system

***

### Access User Role Management

#### Step 1: Open User Profile

1. Go to **IAM** from the **Settings** section in ONEWEB
2. Open the **Admin** menu
3. Select **User Profile**
4. Click the **Expand** button on the user you want to manage

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FEl1epsp1RCdczFzR1vZG%2Fimage.png?alt=media&#x26;token=07375b82-b37b-4f7a-806e-cf803b11b6c6" alt=""><figcaption></figcaption></figure>

***

### Adding Roles to a User

#### Step 1: Open Role Assignment

Click **Add Roles** on the selected user.

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FCXb7fcc9hZoWTiyxyHB6%252Fimage%2520%281%29.png%3Falt%3Dmedia%26token%3D1dd7631d-2a6a-4ed4-a929-a626f37ca2ab&#x26;width=768&#x26;dpr=3&#x26;quality=100&#x26;sign=27e0e3&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Select Roles

1. Select one or more roles from the list
2. Selected roles will appear on the right side
3. Click **Confirm Add Roles**

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2F5cwNY1R9xTweytInObxj%2Fimage.png?alt=media&#x26;token=29826a48-8b1d-4fd3-b838-432e4adf2385" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Verify Role Assignment

The assigned roles will now be listed under the user’s profile.

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FAKgCGm6KCDqzrnuZbhlJ%252Fimage%2520%282%29.png%3Falt%3Dmedia%26token%3Daecb820b-a52d-41bc-b4a1-c355593138df&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=1d0daab6&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

### Removing Roles from a User

#### Step 1: Select Role to Remove

1. Select the role you want to remove
2. Click **Remove Roles**

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FFPEXJXbGdgt5tVOXe572%252Fimage%2520%283%29.png%3Falt%3Dmedia%26token%3D0a400654-a0eb-4406-bb94-dda1dc59d007&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=b30e492e&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Confirm Removal

* Click **Delete UserRoles** to confirm
* Or click **Undo** to cancel

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252F0vnJeIKIzkobfuXEUKN3%252Fimage%2520%284%29.png%3Falt%3Dmedia%26token%3D5ac5d490-8a3a-4a0b-94b2-dae2fd74550a&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=6e905063&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

### Adding Permissions or Objects Directly to a User

> **Note:**\
> Assigning permissions/objects directly to a user should be used **only for exceptions**.\
> Role‑based assignment is the recommended approach.

#### Step 1: Open Permission/Object Assignment

Click **Add Permission/Object**.

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FupfjwQjIb1GkfREDj6Mq%252Fimage%2520%285%29.png%3Falt%3Dmedia%26token%3Db470943e-96cd-46cd-93c3-9c2f1098e6c3&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=97fbee47&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Select Permission or Object

1. Select the required **Permission** and/or **Object**
2. Selected items will appear on the right side
3. Click **Confirm Add Object/Permission**

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FnVNBDTHoXELCKNedkol2%2Fimage.png?alt=media&#x26;token=06ca22d6-09f4-42d1-8afd-4095504499b0" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2015371994-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpDjHWFRUtZ5nJcSfVXd%2Fuploads%2FKlHt0FEg1DhySTy5bPbZ%2Fimage.png?alt=media&#x26;token=b055f990-29a4-4060-b707-b440d5f95741" alt=""><figcaption></figcaption></figure>

***

#### Step 3: Verify Assignment

The added Permission/Object will appear under the user profile.

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FoMspfVQB01YBmyehhUwe%252Fimage%2520%286%29.png%3Falt%3Dmedia%26token%3D9b09a00e-af27-4235-bec1-3ca3aff5743c&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=50fbb1de&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

### Removing Permission/Object from a User

#### Step 1: Select Permission/Object

Select the Permission or Object and click **Remove Permission/Object**.

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252FT48nKTzzDh1UsqOhdAQl%252Fimage%2520%287%29.png%3Falt%3Dmedia%26token%3D3180e4a4-da29-47a5-9860-6175045f14c4&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=916cce9d&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

#### Step 2: Confirm Removal

* Click **Delete Object/Permission**
* Or **Undo** to cancel

<figure><img src="https://docs.oneweb.tech/oneweb/~gitbook/image?url=https%3A%2F%2F2015371994-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FMpDjHWFRUtZ5nJcSfVXd%252Fuploads%252Fyt1bCNd55uJRUZx2oVg7%252Fimage%2520%288%29.png%3Falt%3Dmedia%26token%3Dfc292e29-04f6-40d3-9525-08a8eb188cab&#x26;width=768&#x26;dpr=1&#x26;quality=100&#x26;sign=be5628b1&#x26;sv=2" alt=""><figcaption></figcaption></figure>

***

### Best Practices

* Prefer **role‑based assignment** over direct permissions
* Use direct object/permission assignment only when necessary
* Review user access periodically
* Apply **least‑privilege principle**
* Document role design for audit and compliance

***

### Summary

Managing user roles, permissions, and objects through IAM ensures **secure, auditable, and compliant access control** in ONEWEB.

Key points:

* Roles define access scope
* Permissions control operations
* Objects define protected resources
* Users inherit access primarily through roles

This structured approach supports **enterprise‑grade security governance** on the ONEWEB platform.


---

# 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.onewebstack.com/building-apps/security-and-compliance/authorization-and-access-control/managing-access-control-with-iam/manage-user-roles-and-permissions.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.
