Skip to content
Documentation
Updated 12 minutes to read
Markdown

Master Policy management in Nodinite v7 with this comprehensive guide. Learn how to create, edit, delete, and restore Policies that group Claims and assign them to Roles for OIDC/OAuth 2.0 authorization.

  • ✅ Name and describe your Policy for clear intent
  • ✅ Select Claims using three-tab interface (New, All, Selected)
  • ✅ Assign Policy to one or more Roles - vital for activation
  • ✅ Create new Claims directly while building Policies

Animation: Add Policy, enter Name and Description, filter the Claims card's All tab on Contoso, tick two Claims, and open the Selected tab
Building a Policy: Name and Description, then two Claims ticked on the All tab and checked on the Selected tab.

Navigate to Administration → Access Management → Policies in the Nodinite Web Client.

Administration sidebar with the Policies menu item
Location of the Policies menu item in the Administration sidebar.

The Policies management page displays all Policies with:

  • Status - Available or Deleted indicator
  • Name - The Policy name (clickable link)
  • Description - Policy purpose
  • Created/Changed - Timestamps
  • Actions - Edit, Show in Mapify, Show in Mermaid, and Delete (Restore on a deleted Policy)

Policies Overview list with filter box, Include deleted checkbox, and the Policies Admin, Contoso: Finance Access and Default
The Policies list; the list itself is described in the Policies Overview.


Click the "Add Policy" button in the top-right corner.
Add Policy button on the Policies Overview
The Add Policy button opens an empty Policy detail page.

Fill in the Policy details:

Field Required Description
Name ✅ Yes Unique name for the Policy (can be changed later). Save refuses a name that's in use, deleted Policies included, with Name : The name is in use. The Web API answers 400 Name is required for a Policy without a name.
Description ⚠️ Recommended Clear description of the Policy's intent and purpose

Policy detail page with the Name and Description fields
The general information of a Policy: a unique Name and a Description of its intent.

At the bottom of the page you find Delete (or Restore on a deleted Policy), Save, Save and close, and Close. The header holds Mapify, Mermaid, Add Policy, and Save.
Footer of the Policy detail page with Delete, Save, Save and close, and Close buttons
The footer buttons delete, save, or close the Policy.

The Policy detail page includes a Claims card with three tabs for managing Claims:

Create new Claims directly within this Policy:
Claims card on a Policy with the New tab and Key, Value, Description fields
The New tab creates a Claim and can add it to the Policy in one step.

  • Key (Required) - The claim key, as the Web API sees it after .NET's mapping. New 7.12 The same hint as on the Claims page lists the renamed token claims (roles and role become http://schemas.microsoft.com/ws/2008/06/identity/claims/role), and Show every renamed token claim opens the full table

  • Value (Required) - The claim value

    New tab of a Policy's Claims card with the Key roles and the expanded table of renamed token claims (7.12)
    The Key hint and the Show every renamed token claim table, next to the Roles card.

  • Description (Optional) - Claim description

  • "Add and Use" - Creates the Claim AND adds it to this Policy (recommended)
  • "Add" - Creates the Claim only (doesn't add to Policy)
  • "Cancel" - Discards the input
  • When you edit an existing Claim, the buttons are "Save" and "Save and Use"

Animation: on the New tab enter Key Group and Value Contoso-Auditors, click Add and Use, check the three Claims on the Selected tab, tick the Role Contoso: Warehouse Staff, Save, and find the new Policy in the list
The New tab: Add and Use creates the Claim and selects it in one step; then a Role and Save.

Browse and select from all existing Claims in the system:
Claims card on a Policy with the All tab listing every Claim with checkboxes
The All tab lists every Claim; checked Claims are part of the Policy.

  • View all Claims in the system
  • Use checkboxes to select Claims to add to this Policy
  • Search and filter Claims
  • Toggle "Include Deleted" to show deleted Claims
  • Edit button opens Claim in the New tab for modification
  • Check boxes to add Claims to the Policy
  • Master checkbox selects/deselects all visible Claims
  • Click edit icon to modify an existing Claim

View and manage Claims currently assigned to this Policy:
Claims card on a Policy with the Selected tab listing the Claims in the Policy
The Selected tab shows only the Claims in this Policy.

  • Shows only Claims included in this Policy
  • Uncheck boxes to remove Claims from the Policy
  • A yellow Deleted badge marks deleted Claims (tick Include deleted to see them)
  • Search within selected Claims
  • Displays count of selected Claims
  • Uncheck boxes to remove Claims from Policy
  • Master checkbox (red) removes all Claims
  • Shows total count: "X Claims selected"

The Policy detail page includes a Roles card showing which Roles have this Policy assigned.
Roles card on a Policy with All and Selected tabs and Role checkboxes
The Roles card assigns the Policy to Roles; this is where the Policy takes effect.

  • View all available Roles on the All tab, and the assigned ones on the Selected tab; both have a filter
  • Use checkboxes to assign this Policy to one or more Roles; at least one is required before you can save
  • Toggle "Include deleted" to show deleted Roles
  • The Administrators role is built-in and cannot be deleted
  • Check boxes to assign the Policy to those Roles
  • Uncheck boxes to remove the Policy from those Roles
  • Master checkbox selects/deselects all visible Roles

Click the "Save" button in the top-right corner to save the Policy with its Claims and Role assignments.

Save button on the Policy detail page
The header holds Mapify, Mermaid, Add Policy, and Save. Save stays disabled until the Policy has at least one Claim and one Role.

Until then the page shows You must select at least one Claim and at least one Role to be able to save the Policy. New 7.12 The Web API refuses such a Policy too (HTTP 400), so a script or an MCP tool can't save one either. The name must be unique, regardless of case and including deleted Policies (Policy Name '…' is already in use).

❌ Policy contains:
Country=Sweden (AND)
Country=Norway (AND)
Result: No user can satisfy this (can't be in two countries)

Correct approach: Create separate Policies and assign both to the same Role for OR logic. See Understanding Claim Logic for details.


From the Policies list:

  • Click the Policy name link, OR
  • Click "Actions" → "Edit"

Update the Policy:

  • Change Name or Description
  • Add/remove Claims using the three tabs (New, All, Selected)
  • Assign/unassign Roles using checkboxes
  • Review warning badges for any deleted Claims or Roles

Click "Save" to apply all changes to the Policy. Signed-in users get the change within about 15 seconds, without signing in again.


You can delete a Policy using two methods. The walkthrough shows a delete and a restore, and what the Role shows in between:

Animation: filter on Contoso Temp, Action, Delete, Yes; the Role Contoso: Warehouse Staff shows the Policy with a Deleted badge; Include deleted, Action, Restore, Yes; the Role lists the Policy again without the badge
Delete and Restore: the Role keeps the link the whole time, marked Deleted until the Policy is restored.

From the Policies Overview list:

  1. Click "Actions" dropdown on the Policy row
  2. Select "Delete" from the menu
  3. Confirm deletion in the modal dialog
  1. Navigate to the Policy by clicking the Policy name link or "Actions" → "Edit"
  2. At the bottom of the Policy detail page, click the "Delete" button

Delete button in the footer of the Policy detail page
The red Delete button sits at the bottom left of the Policy detail page.

Both deletion methods will show a confirmation modal:
Confirm intent to Delete modal asking Are you sure you want to Delete Policy: Contoso Temp Policy, with Yes and No buttons
The confirmation modal names the Policy before you delete it.

Click "Yes" to confirm, or "No" to abort.

If the operation is successful, the page shows Policy … is now deleted!
Success message Policy Contoso Temp Policy is now deleted
A success message confirms the deletion.

  • Policy is removed from the main list
  • The success message appears
  • To see deleted Policies, enable the "Include deleted" filter (Show deleted records)

From the Policies list page, check the "Include deleted" checkbox at the top.
Policies list with Include deleted checked showing a deleted Policy
With "Include deleted" checked, deleted Policies are listed too.

Deleted Policies appear with:

  • Red "Deleted" status badge
  • Their Name and Description unchanged

Policies list row with a red Deleted status badge
Deleted Policies keep their Name and Description.

Click the "Action" dropdown button on the deleted Policy row.
Action dropdown menu on a deleted Policy row
The Action menu of a deleted Policy.

Select "Restore" from the menu.
Action menu with the Restore menu item highlighted
On a deleted Policy, 'Restore' replaces 'Delete'.

A confirmation modal appears:
Confirm intent to Restore modal asking Are you sure you want to Restore Policy: Contoso Temp Policy, with Yes and No buttons
The confirmation modal names the Policy before you restore it.

Click "Yes" to confirm.

If the operation is successful, the page shows Policy … is now restored!
Success message Policy Contoso Temp Policy is now restored
A success message confirms the restore.

  • Policy returns to active status
  • "Deleted" badge removed
  • Its Roles grant it again; the Role's Policies card shows it without the badge, and nothing needs to be reassigned
  • The change is recorded in Log Audits (cnfg_Policies_Restore)

Every Policy change is recorded in Log Audits (application Web API). From 7.13 the log texts name the Policy and what changed:

Change Function Log text
Add cnfg_Policies_Insert Added Policy 'Ops' (Id 12): Claims: Claim 'Group = Ops' (Id 5), Roles: Role 'Operators' (Id 3). A Description shows only its length. An empty list reads none.
Edit cnfg_Policies_Update Updated Policy 'B' (Id 12): Name: 'A' -> 'B', Description: changed (10 -> 12 characters), Claims: added Claim 'x = 1' (Id …), removed Claim 'y = 2' (Id …), Roles: … (only what changed), or …: no field changed.
Delete cnfg_Policies_Delete Deleted Policy 'Ops' (Id 12) (restorable). Links kept: Claims 1, Roles 1.
Restore cnfg_Policies_Restore Restored Policy 'Ops' (Id 12). Links unchanged: Claims 1, Roles 1.

For comprehensive guidance on Policy best practices, including:

  • Naming conventions - Clear, descriptive names
  • Claim selection rules - One value per key, avoiding conflicts
  • AND/OR logic - Understanding how Claims combine within and between Policies
  • Logical grouping - Department, regional, and functional Policies
  • Reusability - Designing Policies for multiple Roles
  • Common scenarios - Department-based access, multi-permission, tiered access, environment separation

See the comprehensive guide: What is a Policy?

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...