# Manage roles and permissions

Axiad Mesh decides what each person can see and do from the **roles** they hold.
A role is a named bundle of **permissions**, and you give people a role by
linking it to a group in your identity provider (IdP). You manage roles in
**Settings > Roles and permissions**.

> **note**

- **Roles** bundle permissions. **IdP groups** give people their roles.
- **Deny always wins**, even over Admin. [Read this first](#deny-always-wins).
- Everyone has [three default permissions](#the-three-permissions-everyone-has)
  that no role can remove.
- Every organization starts with three roles: **Admin**, **Standard User** and
  **Viewer**.
- Changes made in Mesh typically take effect within about a minute, and group
  changes made in your IdP within about 10 minutes.

**Jump to:** [Deny always wins](#deny-always-wins) ·
[Default permissions](#the-three-permissions-everyone-has) ·
[Starter roles](#starter-roles) ·
[Give someone access](#give-someone-access) ·
[Create a role](#create-a-role) ·
[Find out why someone was refused](#find-out-why-someone-was-refused) ·
[When changes take effect](#when-changes-take-effect)

## Common tasks

- **[Give someone access](#give-someone-access)**: add a person to a group, or link a group to a role.
- **[Create a role](#create-a-role)**: build a role for a team, step by step.
- **[Find out why someone was refused](#find-out-why-someone-was-refused)**: check a person's access and read the refusal log.
- **[Review changes](#review-changes-to-roles)**: see who changed which role, and when.

## Deny always wins

> **danger**
If any role a person holds denies a permission, they do not have it, even if
another role, including Admin, allows it, and even if they are in an admin group.

Each permission in a role is set to **Allow**, **Not set** or **Deny**. **Not
set** says nothing, so the person can still get the permission from another
role. **Deny** overrides every **Allow**.

![The Access by area step of Create role with the Roles and access area open. Each action has three buttons, Allow, Not set and Deny, and the area has Allow all, Clear all and Deny all buttons](/img/admin-guide/roles-and-permissions/ss-06-permissions-editor.png)

A worked example:

| Alex's groups | Roles Alex holds | Can Alex export the asset inventory? |
| --- | --- | --- |
| Admin group | Admin | Yes. Admin allows it. |
| Admin group, and a group linked to a role that denies **Export asset inventory** | Admin and that role | **No.** The Deny overrides Admin. |

To see this for a real person, open **Check access**. For Alex in the second
row it shows **Denied by a Deny rule**. See
[Find out why someone was refused](#find-out-why-someone-was-refused).

Denying a permission also denies the actions that need it. For example, if a
role denies **View roles and permission definitions**, anything that needs it
is denied too.

There are two exceptions:

1. The [three default permissions](#the-three-permissions-everyone-has) can't be
   denied.
2. Mesh won't let you save a **Deny** on any role-management permission in the
   **Admin** role. A Deny on one of those permissions in another role still
   applies to the people who hold that role.

> **tip**
Use **Deny** sparingly: it overrides everything else, so one broad Deny can
block more people than you expect. To block one action for a few people, put the
Deny in a role linked only to their group, and use **Check access** to confirm the
result.

## The three permissions everyone has

> **tip**
Everyone who signs in to your organization has **View workspaces and widgets**,
**Create workspaces** and **Edit workspace layout**. No role can remove or deny
them.

| Permission | What it lets a person do |
| --- | --- |
| **View workspaces and widgets** | List the workspaces they can open, open their widgets and details, and read widgets shared with them |
| **Create workspaces** | Create a workspace, including saving a drill-down as a new workspace |
| **Edit workspace layout** | Rename workspaces, and change their grouping, layout and widget order |

- **Who has them:** everyone signed in to your organization, whichever roles they
  hold, in every plan.
- **Why they exist:** so every person can open Mesh and arrange their own
  workspaces. They don't give access to your data: what appears in a workspace
  still depends on the person's other permissions.
- **Where you see them:** **Settings > Roles and permissions**, select a role,
  open the **Permissions** tab and find the **Workspaces** area. These rows show
  **Included for everyone** with a lock, and you can't change them.
- Everyone still needs a valid sign-in to use them.
- In **Create role**, a **Blank** role already shows **3 allowed** before you
  choose anything. These are the three. See
  [Create a role](#create-a-role).

## How access works

| Term | What it is |
| --- | --- |
| **Permission** | One thing a person can do, such as **View assets** or **Edit role permissions**. |
| **Role** | A named bundle of permissions. Each permission in a role is set to **Allow**, **Not set** or **Deny**. |
| **Binding** | A link between a role and an IdP group, or all users of an IdP. Anyone in that group gets the role. |
| **Identity provider (IdP)** | Where your people and groups are managed, for example Microsoft Entra ID or Okta. |

- A person holds every role that is linked to any of their groups, and can use
  everything those roles allow, unless a Deny applies.
- Some permissions need others. For example, a permission to edit something
  needs the permission to view it. When you allow a permission in the role
  editor, the ones it needs are allowed with it.
- Membership is managed in your IdP, not in Mesh. To add or remove a person, you
  change their groups in your IdP.
- Mesh only lists features that are part of your plan. A permission for a
  feature you don't have isn't available to any role.

## Starter roles

Every organization starts with three roles. Each is marked **Starter** in the
role list. You can edit **Standard User** and **Viewer**. You can add **Deny**
rules to **Admin**.

| Role | Who it's for | What it includes |
| --- | --- | --- |
| **Admin** | People who run Mesh for your organization | Every permission that is available to your organization. New permissions are added to it automatically, so review them when they appear. |
| **Standard User** | Everyone who signs in | View and work with identities, assets, risks, remediation, cryptography and exposure; use Ask Mesh; build and share your own workspaces; export. The Settings pages that manage Mesh (identity providers, connectors and roles) are Admin-only. It can open the view-only Governance pages, such as Policies and Initiatives, when they are available to your organization. See [what each role can do](#what-each-starter-role-can-do). |
| **Viewer** | People who only need to read | View permissions for the core data. It doesn't export or use Ask Mesh. It can open Initiatives under Governance in the same way. Everyone, including Viewer, can create and arrange their own workspaces. |

> **warning**
Because Mesh links **Standard User** to all users of your IdP, every account in
that IdP, including contractors and guests, can export data, use Ask Mesh and
use external MCP tools unless you edit or unlink the role. Linking someone to
**Viewer** doesn't take Standard User away from them. To restrict people, edit
or unlink **Standard User** first.

> **note**
When your identity provider is connected, Mesh links your **admin groups** to
**Admin** and **all users** of that provider to **Standard User**. **Viewer** is
created for you but isn't linked to anyone until you link it. See
[How admin groups are set up](#how-admin-groups-are-set-up).

The Admin role has these safeguards:

- It can't be archived.
- It can't be linked to all users of an IdP. Link it to specific groups.
- Mesh won't save a Deny on its role-management permissions.
- Mesh blocks removing its last linked group.
- Mesh refuses some changes that would remove your own ability to edit roles.

> **danger**
These safeguards reduce the chance of locking yourself out, but they can't
protect you from changes in your IdP, such as deleting or emptying the admin
group. We recommend at least two admin groups, each with an active member.

### What each starter role can do

A summary of what each starter role allows today, in plain terms. ✓ means yes,
"Partly" is explained in the notes. Use **Settings > Roles and permissions** to
see the exact list for your organization, because you can edit the starter
roles.

| What people can do | Admin | Standard User | Viewer |
| --- | :-: | :-: | :-: |
| See assets, identities, non-human identities, risks, exposure and remediation | ✓ | ✓ | ✓ |
| See post-quantum readiness and compliance results | ✓ | ✓ | ✓ |
| See compliance policies and AI tools found in your environment | ✓ | ✓ | Partly |
| Export data: asset inventory, risk reports, crypto bill of materials, widget data | ✓ | ✓ |  |
| Confirm, merge or reject correlated identities | ✓ | ✓ |  |
| Use Ask Mesh and manage your own chat history | ✓ | ✓ |  |
| Create, edit and share workspaces and widgets | ✓ | ✓ | Partly |
| Use external AI tools and connect your own AI accounts | ✓ | ✓ |  |
| Manage Settings, such as identity providers, connectors and roles | ✓ |  |  |

- **Partly** for Viewer: it sees AI tools found in your environment but not
  compliance policies, and it can create and arrange its own workspaces (as
  everyone can) but can't share them or edit widgets.
- Some rows only apply if the feature is in your plan.
- Admin receives every permission that is available to your organization, so
  it covers every row, unless a Deny rule says otherwise.

## Where to manage roles

1. **Select your name or avatar** at the bottom of the left navigation to open the
   account menu.
2. Select **Settings**.
3. Select **Roles and permissions**.

In the Settings list, **Roles and permissions** opens the role list, and three
pages sit under it:

| Page | What it's for |
| --- | --- |
| **Roles and permissions** | The list of roles, with the **Details**, **Permissions** and **History** tabs for the selected role |
| **Check access** | Find out what a person or a set of groups can do, and why |
| **Change History** | Changes to roles and bindings, across all roles |
| **Access Denied Logs** | Who was refused something, and why. See [Access Denied Logs](#access-denied-logs) |

![The Settings list with Roles and permissions expanded, showing Check access, Change History and Access Denied Logs under it, followed by Integrations, Outreach channels, Governance, AI policy, Runtime AI Gateway, Risk policy and Audit logs](/img/admin-guide/roles-and-permissions/ss-02-settings-navigation.png)

The role list shows each role with how many IdP groups are linked to it and its
rule count. Starter roles are tagged **Starter**, and **Admin** shows
**Automatic** instead of a rule count. **Create role** is above the list, and
**Show archived** is below it.

![The Details tab of the role Support Reader Role. It shows Role name and Description, and under Identity groups a table of two linked groups with Provider, Group (object ID) and Added columns, a copy button on each row, and an Add binding button](/img/admin-guide/roles-and-permissions/ss-04-identity-groups.png)

You see a Settings page only when one of your roles allows the permission that
opens it. If none of your roles allows any Settings page, **Settings** doesn't
appear in your account menu.

### What you need to open each page

| Settings page | Permission that opens it |
| --- | --- |
| Roles and permissions, Check access, Change History | View roles and permission definitions |
| Access Denied Logs | View access denied logs, which also needs View roles and permission definitions |
| Identity providers | View identity providers |
| Connectors | View data connections |
| Connectors > Data syncs | View sync activity |
| MCP servers | View external MCP servers, or View MCP tool activity |
| External agents | View external AI agents |
| Outreach channels | View outreach channels |
| Audit logs | View tenant audit logs |

Other Settings pages follow the same rule.

### What you need for each action

Inside the Roles pages, these permissions control the actions:

| Action | Permission |
| --- | --- |
| Create a role, or copy one | Create or clone roles |
| Change a role's name, description or permissions | Edit role permissions |
| Archive a role | Revoke or archive roles |
| Add or remove a binding | Edit IDP role bindings |
| Read Access Denied Logs | View access denied logs |

Every one of these also needs **View roles and permission definitions**.
**Edit IDP role bindings** also needs **View identity providers**.

## Give someone access

There are two ways. Most of the time you only need the first.

**Add the person to a group that already has the role.**

1. **In your IdP**, add the person to a group that is already linked to the role
   they need.
2. The person signs in again. See
   [When changes take effect](#when-changes-take-effect).

**Link a group to a role.** You need the **Edit IDP role bindings** permission.

1. **Settings > Roles and permissions**, then select the role in the list.
2. On the **Details** tab, find **Identity groups** and select **Add binding**.
3. Select the **Provider**.
4. Enter the group exactly as your IdP sends it:
   - **Microsoft Entra ID:** the group's **object ID**, which is a GUID: 32
     letters and digits in five groups separated by hyphens. A display name
     doesn't work. Mesh warns you when a value looks like one but can't confirm
     the group exists. Use **Check access** to confirm.
   - **Okta:** the group name exactly as Okta sends it, including capital
     letters. Okta must send a groups claim named `groups` that covers this
     group. Don't start the name with `/`. Renaming a group in Okta breaks its
     binding, so add a binding for the new name before you rename an admin
     group.
   - **Other OpenID Connect providers:** the group value exactly as your
     provider sends it, with no spaces and at most 256 characters. If your
     provider sends names, renaming a group breaks its binding.

5. Optional: enter a **Display name**. It only helps your admins recognize the
   group. Mesh never uses it to match anyone.
6. Optional: select **All users of this identity provider** to link the role to
   everyone who signs in through that provider. This isn't available for Admin.
7. Mesh shows how many permissions the members gain. Optional: enter a
   **Reason**, then select **Add binding**.

![The Add binding to Admin dialog with Provider set to Microsoft Entra ID, an empty Group object ID field, an optional Display name, an All users of this identity provider checkbox with the note Admin can't be granted to all users, an optional Reason, and Cancel and Add binding buttons](/img/admin-guide/roles-and-permissions/ss-03-add-binding.png)

This example is the dialog for **Admin**: it shows that Admin can't be granted to
all users.

> **warning**
With **All users of this identity provider**, every user who signs in through
that provider gets the role, including users whose groups couldn't be read.
Use it for a role that is safe for everyone.

**Remove a binding.** In the **Identity groups** table on the role's **Details**
tab, select the trash icon on its row, review which permissions the members would lose or keep, and select
**Confirm**. A binding that gives you your own access can't be removed, and
neither can the last group linked to Admin.

> **note**
Mesh matches the group value your IdP sends: the object ID for Microsoft Entra ID,
the group name for Okta. Removing a person from a group in your IdP removes the
access that group gave them, after the delay described in
[When changes take effect](#when-changes-take-effect).

## Create a role

You need the **Create or clone roles** permission. **Create role** opens a
four-step dialog. A panel on the left lists the steps (**Start**, **Access by
area**, **IDP groups** and **Review**) and keeps a count under **This role so
far**.

**Settings > Roles and permissions**, then select **Create role** above the role
list.

### Step 1: Start

*Name and starting point.* Enter a **Role name** and optionally a
**Description**. Mesh suggests a **Role key** from the name (select **?** for
help). You can change the key now but not after the role is created: use 2 to 63
lowercase letters, digits or underscores, starting with a letter. The name can
be up to 80 characters and the description up to 500.

Under **Start from**, choose one of three starting points:

- **Blank**: no permissions, build from scratch.
- **From template…**: pick a ready-made template from the list.
- **Copy an existing role…**: pick one of your roles.

![Step 1 of 4, Start, with Blank selected. The Role key shows support_reader_role, and the panel on the left shows 3 allowed, 0 denied, 0 groups](/img/admin-guide/roles-and-permissions/ss-05-create-role.png)

![Step 1 of 4 with From template selected and GRC specialist / executive chosen. The panel on the left shows 13 allowed](/img/admin-guide/roles-and-permissions/ss-05b-start-from-template.png)

![Step 1 of 4 with Copy an existing role selected and Standard User chosen. The panel on the left shows 38 allowed](/img/admin-guide/roles-and-permissions/ss-05c-copy-existing-role.png)

A template or a copied role holds a copy of the list as it is today. Mesh says
so on this step: later additions are not granted to the new role automatically,
and only **Admin** receives new permissions automatically. See
[New permissions](#new-permissions). Review a template's permissions before you
continue.

### Step 2: Access by area

*Allow or deny actions.* Open an area and choose **Allow**, **Not set** or
**Deny** for each action. Allowing an action also allows what it needs, and
denying one denies everything below it. This is the same editor you use on the
role afterward.

- Areas are grouped under headings such as **Access and settings** and
  **Identities**. Each area shows how many actions are allowed and denied.
- Use **Search actions**, **Exports**, **Expand all** and **Collapse all** to
  find your way. **Only features in your plan are shown.**
- In an open area, **Allow all**, **Clear all** and **Deny all** change every
  action in it.

![Step 2 of 4, Access by area, with the areas collapsed. Each area shows an allowed and denied count and a number of actions](/img/admin-guide/roles-and-permissions/ss-11-wizard-access-by-area.png)

Select the **i** next to an action to see what it does:

![Step 2 of 4 with the information card open for View roles and permission definitions. The card shows a High risk label, a Read only label, a short description, Where it is used (Settings, Roles and permissions), a Status of New since your last review, and the permission ID](/img/admin-guide/roles-and-permissions/ss-12-wizard-permission-info.png)

| On the card | What it shows |
| --- | --- |
| Title and **High risk** | The action's name and its risk level |
| **Read only** | The action only lets people look |
| Description | What the action lets a person do |
| **Where** | The place in Mesh where it is used |
| **Status** | A note such as **New since your last review** |
| **ID** | The action's identifier |

### Step 3: IDP groups

*Who gets this role.* People get the role through these groups. Choose the
**Provider**, enter the group value your provider sends, optionally a **Display
name**, and select **Add**. The group field is **Group object ID** for Microsoft
Entra ID and **Group name** for Okta. The display name is only a hint. You can
also link groups later on the role's **Details** tab.

**All users of this provider (\*)** links the role to everyone who signs in
through the provider. It is not allowed for the Admin role.

![Step 3 of 4, IDP groups, with a Provider list, a Group name field, an optional Display name, an Add button and an All users of this provider checkbox marked not allowed for the Admin role. The provider name is hidden](/img/admin-guide/roles-and-permissions/ss-13-wizard-idp-groups.png)

### Step 4: Review

*Check and create.* Mesh shows the number of actions allowed, explicit Deny rules
and IDP groups, with allowed and denied counts for each area. Enter an optional
**Reason**, which is stored in the audit log, and select **Create role**. You can
fine-tune every action in the role editor afterward.

![Step 4 of 4, Review, showing 6 actions allowed, 0 explicit Deny rules, 0 IDP groups, a table of allowed and denied counts by area, an optional Reason box, and Back and Create role buttons](/img/admin-guide/roles-and-permissions/ss-14-wizard-review.png)

## Edit a role

You need the **Edit role permissions** permission. Without it, the role editor is
visible but greyed out, and selecting a greyed control explains what is
missing. See [What people see when they're refused](#what-people-see-when-theyre-refused).

1. **Settings > Roles and permissions**, then select the role in the list.
2. On the **Details** tab, you can change **Role name** and **Description**.
3. On the **Permissions** tab, choose **Allow**, **Not set** or **Deny** for each
   action. The footer shows how many are allowed and denied.

   | Setting | Meaning |
   | --- | --- |
   | **Allow** | The role gives this permission. It also allows what the permission needs. |
   | **Not set** | The role says nothing. The person may still get it from another role. |
   | **Deny** | The role blocks this permission for everyone who holds the role, whatever other roles allow. Denying a permission also denies the actions that need it. |

   Use **Allow all**, **Clear all** or **Deny all** on an area to change every
   action in it. **Deny all** asks you to confirm first.
4. Select **Review changes**. Mesh lists each change, shows which groups are
   affected, and highlights some high-risk changes. Always review the list
   yourself.
5. Enter an optional **Reason** and select **Save changes**. Select **Back to
   editing** to keep editing instead.

![The Permissions tab of the role Support Reader Role, with the areas collapsed under Access and settings and Identities, each showing allowed and denied counts, and Search actions, Exports, Expand all and Collapse all above them. The footer shows 6 allowed and 0 denied with Discard and Review changes buttons](/img/admin-guide/roles-and-permissions/ss-06b-permissions-tab.png)

If someone else changed the role while you were editing, Mesh shows **Role
changed**. Select **Reload** to see their version. Your edits are discarded, so
copy any change you still want to make first.

**Archive a role.** On its **Details** tab, select **Archive**, check the effect,
type the role's name to confirm, and select **Archive**. An archived role stops
granting or denying anything. Its definition, bindings and history are kept.
Select **Show archived** under the role list to see archived roles.

### New permissions

When Axiad adds permissions, the **Permissions** tab shows **New permissions
since your last review**. Select **Show** to see them and **Mark reviewed** when
you have decided what to do. **Admin** receives new permissions automatically.
A role you create doesn't.

### Rules and limits

These are the current limits.

| Rule | Detail |
| --- | --- |
| You can only grant what you hold | You can't allow a permission, or link a role that includes one, that you don't hold yourself. |
| Lockout protection | Mesh refuses some changes that would remove your own ability to edit roles. It can't cover changes made in your IdP, or a Deny in another role. |
| You can't archive or unbind a role you hold | Ask another administrator to do it. |
| Admin keeps its safeguards | See [Starter roles](#starter-roles). |
| Roles per organization | Up to 200 active roles. |
| Bindings per organization | Up to 500. |
| Too many changes | Mesh asks you to try again shortly. |

## Find out why someone was refused

Start with **Check access** to see what a person can do and why. Then read
**Access Denied Logs** to see what was refused.

### Check access

**Settings > Roles and permissions > Check access.** It shows the result without
signing in as anyone. Mesh notes on the page that it is visible only to role
administrators and shows the policy for the groups you enter.

#### By user email

1. **Check access**, then select **By user email**.
2. Select the **Provider** and enter the person's email address in **User email**.
3. Select **Check access**. Mesh finds the person's groups in your connected
   directories. This also needs the **View identities** permission. The result
   lists every permission, and which role allows or denies it.

![The Check Access page on the By user email tab, showing the empty form: a Provider list set to Microsoft Entra ID, a User email field with the hint name@company.com, and a Check access button](/img/admin-guide/roles-and-permissions/ss-08-check-access.png)

#### By group IDs

1. **Check access**, then select **By group IDs**.
2. Select the **Provider** and enter the groups as your IdP sends them in
   **Group IDs**, one per line, up to 100.
3. Choose one action: use **Search actions** to find it by ID or name, then pick
   it in the **Action** list. Select **Check access**. The result is for that
   action.

![The Check Access page on the By group IDs tab, showing the empty form: a Provider list, a Group IDs box labelled one per line, up to 100, a Search actions field, an Action list reading Choose an action, and a Check access button](/img/admin-guide/roles-and-permissions/ss-08b-check-access-groups.png)

Read the result. It reflects the current role settings, so a person's open
session may not yet show a recent change. You see the roles that apply, and for
each permission checked whether it's allowed or denied, why, and which roles are
responsible.

| Why | Meaning |
| --- | --- |
| Granted by an Allow rule | A role the person holds allows it |
| Granted automatically to Admin | The person holds Admin |
| Denied by a Deny rule | A role the person holds denies it |
| No applicable role grants this | None of the person's roles mention it |
| Not enabled for your organization | The feature isn't part of your plan |

### Access Denied Logs

**Access Denied Logs** lists the times a person tried to do something their roles
don't allow. Use it to find out why someone says "I can't see this", and to spot
roles that are missing a permission.

1. **Settings > Roles and permissions > Access Denied Logs.** You need the
   **View access denied logs** permission.
2. Choose a date range. The last 7 days are shown first.
3. Filter by user email, permission or reason, and select **Export** to download
   the list.

| Column | What it shows |
| --- | --- |
| **Who** | The person who was refused |
| **What they tried** | The action, shown as a request |
| **Missing permission** | The permission that would have allowed it |
| **Why** | **Role does not include it**, **Blocked by a role rule**, **Not in your plan** or **Session is restricted** (the session isn't allowed to use this). Other reasons can also appear. |
| **Count** | How many times. Identical refusals within the same minute are one row. |
| **First seen**, **Last seen** | When it happened |

Mesh currently keeps access denied logs for 90 days. Repeated refusals are
combined, so this log isn't a complete record of every attempt. Export them
if you need to keep them longer. An export holds at most 10,000 rows, so
narrow the date range if you have more.

![The Access Denied Logs page with a From and To date, a User email filter, All permissions and All reasons filters, an Export button, and a table with Who, What they tried, Missing permission and Why columns. The Who and What they tried columns are blurred](/img/admin-guide/roles-and-permissions/ss-09-access-denied-logs.png)

## Review changes to roles

**Settings > Roles and permissions > Change History** lists changes to roles
and bindings: **Role created**, **Role updated**, **Role archived**, **Group
bound**, **Group unbound**, **Catalog reviewed** and others. Each row shows when it happened,
who did it, what changed, the version, and the reason they gave. Filter by actor
or kind of change. A single role's changes are on its **History** tab.

## What people see when they're refused

Most controls your roles don't allow stay visible but greyed out, so people
know they exist and who to ask. Whole Settings pages, and features outside your
plan, aren't shown.

| What the person sees | What it means | What to do |
| --- | --- | --- |
| A greyed control with the hint **Not in your role** and the permission name | None of their roles allows it | Select the control. A card names the permission and says to ask a tenant administrator to add it to their role |
| **Your role doesn't allow this. Ask a tenant admin for** a permission name | The same, shown as a message | Create or use a role for the people who need it and link it to their group. Edit or unlink **Standard User** if its defaults are too broad. It applies to everyone |
| **This feature isn't enabled for your organization. Contact your Axiad representative.** | The feature isn't part of your plan | Contact your Axiad representative. A role can't change this |
| **Your sign-in is out of date. Sign in again.** | Their sign-in has aged too far | Sign in again |
| **Your session was ended by an administrator. Sign in again.** | Their session was ended | Sign in again |
| **Access can't be checked right now. Try again shortly.** | Mesh couldn't check access at that moment | Try again |
| No **Settings** item in the account menu | None of their roles opens any Settings page | Give them a role with a View permission from [the page list](#where-to-manage-roles) |

The card below opened from a greyed-out **Add Initiative** button:

![A Not in your role card for Create initiatives, opened from a greyed-out Add Initiative button. It shows Has, Needs, Ask and ID rows and a Got it button](/img/admin-guide/roles-and-permissions/ss-10-not-in-your-role.png)

| On the card | What it shows |
| --- | --- |
| Title and **Not in your role** | The permission the person is missing |
| **Has** | **This permission is not in your role.** |
| **Needs** | Other permissions this one also needs, each with a lock |
| **Ask** | Who to ask: a tenant admin, to add the permission to the person's role |
| **ID** | The permission's identifier, with a **Copy** button |

Select **Got it** to close the card.

Refusals caused by a role appear in **Access Denied Logs**. People holding the
**Standard User** role can't open it unless you add **View access denied logs**.

## How admin groups are set up

You choose your **Admin groups** when you connect your IdP, during
[onboarding](../getting-started/complete-onboarding.md) or later in
**Settings > Identity providers**. Mesh then sets up roles for you:

- Each admin group is linked to **Admin**. You can enter more than one admin
  group.
- All users of that IdP are linked to **Standard User**.
- This is checked when you save an active IdP configuration, and again from
  time to time.
- If you change a configuration's admin group, Mesh unlinks the group it linked
  for you and links the new one. It never removes a link that a person made in
  **Roles and permissions**, and it never removes the last group linked to
  Admin.
- If you remove a link on purpose, Mesh doesn't put it back.

> **warning**
If your organization has no links yet and no admin group in its IdP
configuration, Mesh creates no role links for anyone. Enter an admin group, using the
group's value exactly as your IdP sends it, and include a group you belong to.

An admin group has to match exactly what your IdP sends. For Microsoft Entra ID,
that's the group's object ID, not its display name. See
[Microsoft Entra ID identity provider integration](identity-providers/microsoft-entra-id.md#configure-the-groups-claim)
and [Okta identity provider integration](identity-providers/okta.md#configure-the-group-claim).

## When changes take effect

| Change | When it applies |
| --- | --- |
| A role edit, or adding or removing a binding in Mesh | Typically takes effect within about a minute |
| A person is added to or removed from a group in your IdP | Typically takes effect within about 10 minutes |

Times can vary and are not a guarantee. To apply a group change made in your
IdP right away, ask the person to sign out and sign in again, which reads their
current groups. A change made in Mesh doesn't depend on signing in. See
[Sign out and sessions](./roles-and-access.md#sign-out-and-sessions).

Don't rely on these changes to remove a person's access at a specific moment.
Also remove the person in your IdP.

## Troubleshooting

| Symptom | Cause | Resolution |
| --- | --- | --- |
| A person added to a group still can't do something | A change in your IdP typically takes effect within about 10 minutes, and a change made in Mesh within about a minute. Times can vary. Or the group isn't linked to a role | Wait a little, or ask them to sign out and sign in again. Then use **Check access** to confirm which roles apply |
| A person has a permission they shouldn't | A role they hold allows it, and **Standard User** applies to everyone | Use **Check access** to see which role allows it, then edit that role or add a Deny to a role for that group |
| A binding doesn't match anyone | The group value doesn't match what your IdP sends. Entra needs the object ID. Okta names are case-sensitive | Copy the group ID from your IdP and add the binding again |
| Nobody in your organization is an administrator | No admin group is set up, or it doesn't match what your IdP sends | If someone can open Settings, check the admin groups in **Settings > Identity providers** against your IdP. If nobody can, see [If you're locked out](./roles-and-access.md#if-youre-locked-out). If no admin group is set up and nobody can open Settings, contact Axiad support |
| **Add binding** is greyed out | Your roles don't include **Edit IDP role bindings**, or the View permissions it needs | Ask an administrator who does |
| Mesh refuses to remove a binding or archive a role | It would remove the last link to Admin, or it gives you your own access | Link another group to Admin first, or ask another administrator |
| A person can see a page but not an action on it | The role has the view permission but not the one for the action | Add the permission, or check for a **Deny** in another role |

## Related

- [Signing in, roles, and access](./roles-and-access.md)
- [Audit logging](./audit-logging.md)
- [Microsoft Entra ID identity provider integration](identity-providers/microsoft-entra-id.md)
- [Okta identity provider integration](identity-providers/okta.md)
