---
title: Policies Overview - Manage Authorization in Nodinite
description: "Manage authorization Policies in Nodinite's Access Management. Create, edit, delete, and restore Policies that group Claims for OIDC/OAuth 2.0 authentication, and understand the AND/OR logic before you change one."
---

# :fa-shield-check: Policies Overview

Gain complete control of your authorization Policies in :Nodinite: v7. This page guides you through managing, adding, editing, deleting, and restoring Policies—groups of [Claims][] that are assigned to [Roles][].

* ✅ Centralized management of all Policies  
* ✅ Track which Roles use each Policy  
* ✅ Powerful filtering and search capabilities  
* ✅ Restore deleted Policies when needed  

![Animation: an Administrator adds the Policy Contoso: Finance Users with the Claim Group = Contoso-Finance and the Role Contoso: Operations, then a user with that Claim signs in and sees the Role's Log Views and Monitor Views][7]  
*A Policy turns an identity provider Claim into a Role: the user `contoso.finance` gets the [Log Views][] and [Monitor Views][] of **Contoso: Operations**.*  

>[!NOTE]
>Policies are **only available** when :Nodinite: is configured for **OIDC/OAuth 2.0 authentication mode** ([Install Nodinite v7 - OpenID][]). For Windows authentication mode, use [Users][] and [Windows AD Groups][] instead.
>
>[!IMPORTANT]
>**Modifying Existing Policies Is Extremely Dangerous**
>
>Adding Claims to an existing Policy can lock out ALL users (including admins) because:
>
>* Claims use **AND logic** - users must have ALL Claims in the Policy
>* Claims must match EXACTLY what your Identity Provider (IDP) sends
>* If you add a Claim your IDP doesn't provide, NO users will match
>
>**ALWAYS:**
>
>* ✅ Create NEW Policies instead of modifying existing ones
>* ✅ Verify Claims exist in your IDP before adding them ([Entra ID Token Claims Validation][])
>* ✅ Test with non-admin accounts first
>* ❌ NEVER modify the Administrators Policy without a tested backup plan
>
>[!TIP]
>:fa-square-plus: Get started now: [Add or manage Policy][] user guide.

The **Policies Overview** in the [Access Management][] menu is where a :Nodinite: Administrator manages [Policies][] for OIDC/OAuth 2.0 authorization.

This page focuses on managing the list of Policies. For detailed information about how Policies work, authorization logic, and best practices, see [What is a Policy?][Policies]

## :fa-diagram-project: Understanding Policies in Access Management

A Policy is satisfied when the user's token holds **all** of its [Claims][] (AND). A Role is granted when the user satisfies **any** of the Policies assigned to it (OR).

```mermaid
flowchart LR
    C1["fa:fa-key Claim<br/>roles = Nodinite.User"] -->|"AND"| P1["fa:fa-shield-halved Policy<br/>Finance Full Access"]
    C2["fa:fa-key Claim<br/>groups = Finance GUID"] -->|"AND"| P1
    C3["fa:fa-key Claim<br/>roles = Nodinite.Admin"] --> P2["fa:fa-shield-halved Policy<br/>IT Admin"]
    P1 -->|"OR"| R["fa:fa-users-class Role"]
    P2 -->|"OR"| R
    R -->|"Permission Sets"| A["fa:fa-unlock Log Views, Monitor Views,<br/>Repository Model, C4 Diagram Sets"]
    style C1 fill:#2678BD,color:#fff
    style C2 fill:#2678BD,color:#fff
    style C3 fill:#2678BD,color:#fff
    style P1 fill:#E47528,color:#fff
    style P2 fill:#E47528,color:#fff
    style R fill:#9E59BB,color:#fff
    style A fill:#93d16d,color:#000
```

*Blue: Claims; orange: the Policies you manage on this page (AND between their Claims); purple: the Role (OR between its Policies); green: the access granted by the Role's permission sets.*

| Component | Logic | Managed in |
|---|---|---|
| [Claim][Claims] | Key/value pair that must be in the user's token | [Claims Overview][] |
| [Policy][Policies] | AND: every Claim in the Policy must match | This page |
| [Role][Roles] | OR: any assigned Policy grants the Role | [Roles Overview][] |
| Permission sets | What the Role grants: [Log Views][Permission Set for Log Views], [Monitor Views][Permission Set for Monitor Views], [Repository Model][Permission Set for the Repository Model], [C4 Diagram Sets][Permission Set for C4 Diagram Sets] | [Add or manage Role][] |

## :fa-list: The Policies List

In the **Policies Overview**, you have a sortable **list** of defined [Policies][]. You can narrow an extensive list by typing characters into the **filter** text box.

![Policies Overview list with filter box, Include deleted checkbox, and the Policies Admin, Contoso: Finance Access and Default][1]  
*The Policies Overview lists each Policy with its Description and an Action menu.*  

## Manage Policies

The available functionalities for Managing Policies are:

* :fa-square-plus: [Add new Policy][Add or manage Policy] - Create Policies
* :fa-edit: [Edit][Add or manage Policy] existing Policy - Modify Name, Description, Claims, or Roles
* :fa-diagram-project: Show in [Mapify][] or [Mermaid][] - See which Claims and Roles a Policy connects
* :fa-trash-can: [Delete][Show Deleted] Policy - Remove Policies (can be restored)
* :fa-redo: Restore deleted Policy - Recover previously deleted Policies
* :fa-filter: Filter the list of Policies - Search by Name or Description
* :fa-sort: Sort - Order by Name, Created, Changed, or Description

The Policies list has no Permanently Delete, Duplicate, [Tags][], or **With Selected** actions.

### :fa-square-plus: Add new Policy

Click the **"Add Policy"** button to create a new [Policy][Policies].

![Add Policy button on the Policies Overview][2]  
*The "Add Policy" button opens an empty Policy detail page.*  

You'll navigate to the Policy detail page where you can:

* Enter **Name** and **Description**
* Add [Claims][] using three tabs:
  * **New** - Create or edit Claims
  * **All** - Browse and select existing Claims
  * **Selected** - View and manage Claims in this Policy
* Assign the Policy to [Roles][] in the **Roles** card

### :fa-edit: Edit Policy

To **Edit** an existing [Policy][Policies], click the link in the **Name** column or open the menu from the **"Action"** button and click **"Edit"**.

![Action button menu with Edit, Show in Mapify, Show in Mermaid and Delete menu items][3]  
*The Action menu on a Policy row holds Edit, Show in Mapify, Show in Mermaid, and Delete.*  

### :fa-trash-can: Delete Policy

To **Delete** an existing [Policy][Policies], open the menu from the **"Action"** button and click **"Delete"**, or click the **"Delete"** button at the bottom of the Policy detail page.

![Action button menu with the Delete menu item][4]  
*The 'Delete' menu item opens a confirmation modal.*  

>[!IMPORTANT]
>Delete is a soft delete of the Policy only. Its [Roles][] keep the link: the Role's **Policies** card lists the Policy with a yellow **Deleted** badge, and a deleted Policy grants nothing. [Claims][] within the Policy are not deleted.

### :fa-redo: Restore deleted Policy

To **Restore** a deleted Policy, first check the ["Include deleted"][Show Deleted] checkbox.

![Policies list with Include deleted checked showing a deleted Policy][5]  
*With "Include deleted" checked, deleted Policies are listed with a 'Deleted' badge.*  

Then open the menu from the **"Action"** button and click **"Restore"**.

![Action button menu with the Restore menu item on a deleted Policy][6]  
*On a deleted Policy, 'Restore' replaces 'Delete' in the Action menu.*  

A restored Policy grants its [Roles][] again; nothing needs to be reassigned. The walkthrough is in [Add or manage Policy][].

### :fa-filter: Filter Policies

Use the **search filter** at the top of the page to find Policies:

* Type any text to search across Name and Description fields
* Results update in real-time as you type
* Clear the filter to show all Policies

### :fa-sort: Sort Policies

Click any column header to sort the list:

* **Name** - Alphabetical order
* **Created** - Date/time order
* **Changed** - Date/time order
* **Description** - Alphabetical order

Click again to reverse the sort order (ascending/descending).

## Understanding the Columns

|Column|Description|Sortable|  
|---|---|---|  
|**Status**|Shows an "Available" or "Deleted" badge (when "Include deleted" is checked)|Yes|  
|**Name**|The Policy name (clickable link to Policy details)|Yes|  
|**Description**|Description of the Policy's purpose|Yes|  
|**Created**|Timestamp when the Policy was created|Yes|  
|**Changed**|Timestamp when the Policy was last modified|Yes|  
|**Actions**|Dropdown menu with Edit, Show in Mapify, Show in Mermaid, and Delete (Restore on a deleted Policy)|No|  

## Quick Reference

### Validation Rules

* **Names must be unique** - Not case-sensitive, and deleted Policies count too (restore the deleted one instead)
* **Name is required** - Description optional but recommended
* **At least one Claim and one Role** - **Save** stays disabled with *You must select at least one Claim and at least one Role to be able to save the Policy.*
* **Deleted Policies** - Can be restored; their Roles keep the link and get it back on Restore
* **Claims not deleted** - When Policy deleted, Claims remain

>[!TIP]
>For detailed validation rules, naming conventions, authorization logic, and best practices, see [What is a Policy?][Policies]

## :fa-question: Frequently Asked Questions

More answers are in the [Access Management Troubleshooting][Troubleshooting Guide] guide and in [Claims and Policies - Common Scenarios][Common Scenarios].

### Can one Role have multiple Policies?

Yes! [Roles][] can be assigned multiple Policies with OR logic. See [What is a Policy?][Policies] for authorization logic details.

### What happens when I delete a Policy?

* Marked as deleted, and grants nothing while deleted
* Its [Roles][] keep the link, shown with a **Deleted** badge on the Role's **Policies** card
* [Claims][] within Policy **not** deleted
* Can be restored, and the Roles are granted again
* The change is recorded in [Log Audits][] (Functions `cnfg_Policies_Delete` and `cnfg_Policies_Restore`)

### Can I rename a Policy?

Yes, edit the Policy and change the Name field. Ensure the new name is unique.

### Why can't I create a new Policy?

1. **Name already exists** - Choose a unique name; a deleted Policy with the same name counts
2. **Missing required field** - Name required
3. **Save is disabled** - Select at least one Claim and at least one Role
4. **Insufficient permissions** - Need the Administrators [Role][Roles]

>[!TIP]
>For authorization flow, AND/OR logic, and conflicting claims guidance, see [What is a Policy?][Policies]

## Troubleshooting

### Cannot add Policy - "Policy Name '…' is already in use"

1. Choose different name
2. Check "Include deleted" - may have been deleted
3. Restore deleted Policy if appropriate

### Policy doesn't appear in Role

1. Open the Policy and check the **Roles** card; check the Role there and save ([Add or manage Policy][])
2. Verify the Policy exists and is not deleted

### Users don't get the Role the Policy should grant

1. Compare the Policy's Claims with the claims in the user's token ([Entra ID Token Claims Validation][])
2. Remember the AND logic: the user must have every Claim in the Policy
3. A Policy change reaches signed-in users within about 15 seconds; a change in the identity provider (for example a user's group) arrives with the user's next token. See [What is a Policy?][Policies]
4. A user who matches no Policy gets the **Forbidden** page, which names the access level that is missing and offers **Log out**

### Cannot delete Policy

1. Refresh page and try again
2. Check browser session hasn't expired
3. Another administrator may be editing the same Policy

## :fa-hand-point-right: Next Steps

* :fa-square-plus: [Add or manage Policy][] - Create and manage Policies  
* :fa-key: [What is a Claim?][Claims] - Learn about Claims  
* :fa-users-class: [What is a Role?][Roles] - Understand Roles  

## :fa-link-horizontal: Related Topics

* :fa-shield-check: [What is a Policy?][Policies] - Understanding Policies  
* :fa-square-plus: [Add or manage Policy][] - Policy management guide  

* :fa-key: [What is a Claim?][Claims] - Understanding Claims  
* :fa-key: [Claims Overview][] - Manage all Claims  
* :fa-square-plus: [Add or manage Claim][] - Claim management guide  

* :fa-users-class: [What is a Role?][Roles] - Understanding Roles  
* :fa-users-class: [Roles Overview][] - Manage all Roles  
* :fa-hard-drive: [Permission Set for Log Views][] - What a Role grants in Log Views  
* :fa-display: [Permission Set for Monitor Views][] - What a Role grants in Monitor Views  

* :fa-user-secret: [Access Management][] - Authorization overview  
* :fa-book: [Claims and Policies - Common Scenarios][Common Scenarios] - Implementation examples  
* :fa-id-card: [Install Nodinite v7 - OpenID][] - Configure OIDC/OAuth 2.0  
* :fa-cloud: [Install Nodinite v7 - OpenID - EntraID][] - Microsoft Entra ID app registrations  
* :fa-user-tag: [Log Audits][] - Who changed what  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/Overview.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/AddPolicyButton.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/EditPolicyAction.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/DeletePolicyButton.png
[5]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/IncludeDeletedFilter.png
[6]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/RestorePolicyAction.png
[7]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/Policies_ClaimToRole.gif

[Access Management]:{ndr}/Administration/3.%20Access%20Management/Overview.md
[Add or manage Claim]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Features/Add%20or%20manage%20Claim.md
[Add or manage Policy]:{ndr}/Administration/3.%20Access%20Management/5.%20Policies/Features/Add%20or%20manage%20Policy.md
[Add or manage Role]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Add%20or%20manage%20Role.md
[Claims]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Features/What%20is%20a%20Claim.md
[Claims Overview]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Overview.md
[Common Scenarios]:{ndr}/Administration/3.%20Access%20Management/Getting%20Started/Common%20Scenarios.md
[Entra ID Token Claims Validation]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Entra%20ID%20Token%20Claims%20Validation.md
[Install Nodinite v7 - OpenID]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20-%20OpenID.md
[Install Nodinite v7 - OpenID - EntraID]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20-%20OpenID%20-%20EntraID.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Log Views]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/What%20is%20a%20Log%20View.md
[Mapify]:{ndr}/Mapify/Overview.md
[Mermaid]:https://mermaid.js.org
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Permission Set for C4 Diagram Sets]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20C4%20Diagram%20Sets.md
[Permission Set for Log Views]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20Log%20Views.md
[Permission Set for Monitor Views]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20Monitor%20Views.md
[Permission Set for the Repository Model]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md
[Policies]:{ndr}/Administration/3.%20Access%20Management/5.%20Policies/Features/What%20is%20a%20Policy.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Roles Overview]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Overview.md
[Show Deleted]:{ndr}/Administration/6.%20Tools/Show%20deleted%20records.md
[Tags]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md
[Troubleshooting Guide]:{ndr}/Administration/3.%20Access%20Management/Troubleshooting/Overview.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Windows AD Groups]:{ndr}/Administration/3.%20Access%20Management/3.%20Windows%20AD%20Groups/Features/What%20is%20a%20Windows%20AD%20Group.md