What is a Policy?
Section titled “What is a Policy?”Master flexible authorization in Nodinite v7 by understanding Policies. This page explains how Policies group Claims together and provide the link between individual permissions and Roles.
- ✅ Group related Claims for easier management
- ✅ Reusable permission sets across multiple Roles
- ✅ Flexible authorization for complex scenarios
- ✅ Foundation for OIDC/OAuth 2.0 access control

From Claim to Role: the Policy grants contoso.finance the Log Views and Monitor Views of Contoso: Operations.
A Policy in Nodinite is a named collection of Claims that can be assigned to one or more Roles. Policies provide a way to group related permissions and attributes together for easier management and reusability.
Think of It This Way
Section titled “Think of It This Way”- Claims = Individual permissions (key/value pairs)
- Policies = Groups of related Claims
- Roles = Job functions that receive Policies, and whose permission sets (Log Views, Monitor Views, Repository Model, C4 Diagram Sets) decide what users see

The Policy 'Contoso Temp Policy' groups three Claims; the Roles card on the right assigns it to the Role 'Contoso: Warehouse Staff'.
Authorization Flow with Policies
Section titled “Authorization Flow with Policies”Understanding how Policies fit into the authorization model:
- Claims - Individual key/value pairs (e.g.,
department=finance,access_level=admin) - Policies - Groups of Claims (e.g., "Finance Admin Policy" contains both Claims above)
- Roles - Assigned Policies to grant permissions (e.g., "Finance Manager" role)
- Users - Authenticated via identity provider, receive Claims
- Authorization - Nodinite matches user Claims with Policy requirements in assigned Roles
Green: Claims and the users who carry them; blue: Policies; yellow: Roles. The example shows two Claims grouped into one Policy assigned to one Role.
Key Characteristics
Section titled “Key Characteristics”Named Collections
Section titled “Named Collections”Each Policy has:
- Name (Required) - Unique identifier for the Policy
- Description (Optional) - Explains the Policy's purpose
- Claims - One or more Claims grouped together
Reusability
Section titled “Reusability”Policies can be assigned to multiple Roles:
- Create once, use many times
- Consistent permissions across Roles
- Easier maintenance and updates
Flexibility
Section titled “Flexibility”Policies support complex authorization scenarios:
- Combine Claims from different categories
- Mix department, access level, and regional Claims
- Create fine-grained or broad permission sets
Policy Structure
Section titled “Policy Structure”Example: Finance Admin Policy
Section titled “Example: Finance Admin Policy”Name: Finance Admin Policy
Description: Full administrative access to finance integrations and reporting
| Key | Value | Description |
|---|---|---|
department |
finance |
Finance Department member |
access_level |
admin |
Administrator access level |
environment |
production |
Production environment access |
This Policy groups three Claims together, creating a complete permission set for finance administrators.
Example: Regional Read-Only Policy
Section titled “Example: Regional Read-Only Policy”Name: Europe Read-Only Access
Description: Read-only access to European integration monitoring
| Key | Value | Description |
|---|---|---|
region |
europe |
European region |
access_level |
readonly |
Read-only access level |
This Policy combines regional and permission-level Claims.
Policy Management
Section titled “Policy Management”You can manage Nodinite Policies from the Administration section in the Nodinite Web Client (Policies Overview):

The Policies menu item in the Administration sidebar.
Available Operations
Section titled “Available Operations”- Add new Policy - Create Policies
- Edit Policy - Modify Name, Description, Claims, or Roles
- Delete Policy - Remove Policies (can be restored)
- Restore Policy - Recover deleted Policies (Include deleted)
- Filter Policies - Search by Name or Description
- Manage Claims - Add/remove Claims from the Policy
- New 7.12 Show in Mapify or Mermaid - The Policy, its Claims and Roles, from its Action menu or edit page; see the walkthrough
Policy Detail Page
Section titled “Policy Detail Page”When creating or editing a Policy, you work with:
- General information - Name (required, unique) and Description
- Claims card - three tabs: New creates a Claim ("Add and Use" adds it in one step), All lists every Claim with checkboxes, Selected shows the Claims in this Policy with warning badges for deleted ones
- Roles card - checkboxes that assign the Policy to Roles

The All tab of the Claims card; checked Claims are part of the Policy.
The step-by-step procedure is in Add or manage Policy.
Policies vs. Users/Groups
Section titled “Policies vs. Users/Groups”OIDC/OAuth 2.0 Mode (Policies)
Section titled “OIDC/OAuth 2.0 Mode (Policies)”How Policies Work
Section titled “How Policies Work”- Define Claims (key/value pairs)
- Group Claims into Policies
- Assign Policies to Roles
- Users receive access based on their Claims matching Policy requirements
Advantages of Policies
Section titled “Advantages of Policies”- Platform-independent
- Flexible and extensible
- Works with any identity provider
- Modern cloud-native approach
When to Use Policies
Section titled “When to Use Policies”- Cloud-based deployments
- Multi-platform environments
- External identity providers (Microsoft Entra ID, Okta, etc.)
- Need modern authentication protocols
Windows Authentication Mode (Users/Groups)
Section titled “Windows Authentication Mode (Users/Groups)”How Users and Groups Work
Section titled “How Users and Groups Work”- Assign Users directly to Roles
- Or assign Windows AD Groups to Roles
- Windows handles authentication and authorization
Advantages of Users and Groups
Section titled “Advantages of Users and Groups”- Direct Active Directory integration
- Familiar Windows security model
- No additional Claims configuration
When to Use Users and Groups
Section titled “When to Use Users and Groups”- On-premises deployments
- All users in Windows domain
- Traditional Windows-integrated security
Policy Assignment to Roles
Section titled “Policy Assignment to Roles”Once created, Policies are assigned to Roles, in the Roles card of the Policy (Add or manage Policy). The Role's Policies card (Add or manage Role) lists the assigned Policies but doesn't change them.
In the Role Detail Page
Section titled “In the Role Detail Page”When viewing or editing a Role in OIDC/OAuth 2.0 mode, you'll see a Policies card showing:

The Policies card on a Role, with the count of assigned Policies in the header.
- Policy count - Number of Policies assigned
- Policy names - Clickable links to Policy details
- Policy descriptions - Quick reference
- Warning badges - For deleted Policies
Best Practices
Section titled “Best Practices”Naming Conventions
Section titled “Naming Conventions”Use clear, descriptive names that explain the Policy's purpose:
✅ Good Names: Finance Admin Policy Europe Read-Only Access Operations Full Access Developer Test Environment
❌ Poor Names: Policy1 Fin_Pol ADMIN TestDescriptive Documentation
Section titled “Descriptive Documentation”Always provide a comprehensive Description:
✅ Good Description: "Full administrative access to finance integrations, including invoice processing, payment systems, and financial reporting. Grants read/write/delete permissions in production environment."
❌ Poor Description: "Finance policy" "Admin access" ""Logical Grouping
Section titled “Logical Grouping”Group related Claims together, with one value per key (see The Conflicting Claims Problem).
Department-Based Policy
Section titled “Department-Based Policy”Policy: "Finance Department Access"Claims: * department=finance * environment=production * access_level=editorFunctional Policy
Section titled “Functional Policy”Policy: "Read-Only Monitoring"Claims: * access_level=readonly * feature=monitoringRegional Policy
Section titled “Regional Policy”Policy: "European Operations"Claims: * region=europe * department=operations * access_level=adminReusability
Section titled “Reusability”Design Policies to be reusable across multiple Roles:
Policy: "Production Environment Access" * environment=production * compliance=validated
Assigned to Roles: * Finance Manager (with other finance Policies) * Operations Lead (with other operations Policies) * Senior Developer (with other developer Policies)Review Deleted Claims
Section titled “Review Deleted Claims”If a Policy contains deleted Claims: Edit → Remove deleted Claims from "Selected" tab → Add replacements or restore.
Understanding Claim Logic in Policies
Section titled “Understanding Claim Logic in Policies”Common Scenarios
Section titled “Common Scenarios”More end-to-end examples are in Claims and Policies - Common Scenarios.
Scenario 1: Department-Based Access Control
Section titled “Scenario 1: Department-Based Access Control”Policy: "Finance Department Access"Claims: department=finance, access_level=editor
Policy: "Finance Admin Access"Claims: department=finance, access_level=admin
Policy: "Operations Department Access"Claims: department=operations, access_level=editorScenario 2: Multi-Permission Policies
Section titled “Scenario 2: Multi-Permission Policies”Policy: "European Finance Manager"Claims: * department=finance, region=europe * access_level=admin, environment=production, feature=reportingScenario 3: Environment Separation
Section titled “Scenario 3: Environment Separation”One value per key, so development and test get separate Policies (OR logic on the Role):
Policy: "Development Environment"Claims: environment=development
Policy: "Test Environment"Claims: environment=test
Policy: "Production Environment"Claims: environment=production, compliance=validatedTroubleshooting
Section titled “Troubleshooting”More answers are in the Access Management Troubleshooting guide and in Troubleshooting OAuth 2.0 Validation Failures.
Cannot Create Policy - "Policy Name '…' is already in use"
Section titled “Cannot Create Policy - "Policy Name '…' is already in use"”Issue: Error when creating a Policy
Solution: Policy names must be unique, regardless of case and including deleted Policies. Either:
- Choose a different name
- Check if the Policy was deleted (restore it instead)
- Edit the existing Policy if it serves the same purpose
Policy Shows Deleted Claims
Section titled “Policy Shows Deleted Claims”Issue: Policy contains Claims with a Deleted badge
Explanation: The Policy was deleted with its Claims and restored later (a Claim an active Policy uses can't be deleted). It grants nothing until the deleted Claims are restored or removed.
Steps to Clean Up Deleted Claims
Section titled “Steps to Clean Up Deleted Claims”- Edit the Policy
- Go to the "Selected" tab
- Uncheck the deleted Claims
- Add replacement Claims from the "All" tab
- Or restore the deleted Claims if still needed
Cannot See Policy in Role
Section titled “Cannot See Policy in Role”Issue: Created Policy not visible in Role editor
Solution: Check the Policy's Roles card and make sure the Role is checked and the Policy saved. Verify that the Policy isn't deleted, then refresh the page.
Save Is Disabled
Section titled “Save Is Disabled”Issue: Save is disabled, with You must select at least one Claim and at least one Role to be able to save the Policy.
Solution: Select at least one Claim and at least one Role:
- Stay on the Policy detail page
- Use the "All" tab to add existing Claims, or the "New" tab to create one (Add and Use)
- Tick at least one Role in the Roles card
- Save the Policy
A User Gets the Forbidden Page
Section titled “A User Gets the Forbidden Page”Issue: After signing in, a user sees Forbidden (403 - Forbidden) with a reason such as Access level Log Views is required.
Explanation: The user's token matches no Policy, so the user has no Role. Compare the Claims with the token (Entra ID Token Claims Validation); the page offers Log out so the user can sign in again or as someone else.
Security Considerations
Section titled “Security Considerations”Principle of Least Privilege - Create specific Policies, not overly broad ones.
Regular Audits - Review quarterly: remove unused, update descriptions, verify Claims, check Role assignments, and review changes in Log Audits. Policy changes are logged by the Web API with the Functions cnfg_Policies_Insert, cnfg_Policies_Update, cnfg_Policies_Delete, and cnfg_Policies_Restore; see Audit Trail for the log texts.
Claim Validation - Ensure Claims are: valid (not deleted), relevant, documented, following naming conventions.
Quick Facts
Section titled “Quick Facts”- Policies are named collections of Claims
- Available only in OIDC/OAuth 2.0 mode
- Policy names must be unique (not case-sensitive, deleted Policies included)
- Policies can be assigned to multiple Roles
- A Policy needs at least one Claim and one Role before the Web Client saves it
- Changes reach signed-in users within about 15 seconds
- Deleted Policies can be restored, and their Roles get them back
- Three tabs for managing Claims: New, All, Selected
- Always provide a Description for clarity
Next Steps
Section titled “ Next Steps”Related Topics
Section titled “ Related Topics”-
Policies Overview - Manage all Policies
-
Add or manage Policy - Policy management guide
-
Claims and Policies - Common Scenarios - Implementation examples
-
What is a Claim? - Understanding Claims
-
Claims Overview - Manage all Claims
-
Add or manage Claim - Claim management guide
-
What is a Role? - Understanding Roles
-
Roles Overview - Manage all Roles
-
Add or manage Role - See the Policies assigned to a Role
-
Access Management - Authorization overview
-
Install Nodinite v7 - OpenID - Configure OIDC/OAuth 2.0
-
Install Nodinite v7 - OpenID - EntraID - Azure AD setup
-
Entra ID Token Claims Validation - Check the claims in the token
-
Users - Windows authentication mode
-
Windows AD Groups - Windows authentication mode
-
Migrate Authentication Method - Switch authentication mode