Skip to content
Documentation
Updated 10 minutes to read
Markdown

Practical, real-world examples for implementing Claims and Policies in Nodinite v7 using OIDC/OAuth 2.0 authentication.

  • ✅ Step-by-step implementation guides
  • ✅ Department-based access control examples
  • ✅ Multi-level permission scenarios
  • ✅ Regional and environmental authorization

Scenario 1, a Finance department Claim and the Finance User Policy with its Claims and Role, animated walkthrough (7.12)
Animated walkthrough of Scenario 1: on Claims, Add Claim creates department = finance (access_level = editor from Step 2 is already there). Add Policy then creates the Finance User Policy with both Claims and the Role Finance User, and Save shows Policy was successfully added. It was recorded on a Web Client in Windows mode, so it ends on the Policy's Roles card instead of the Role; see the note below.

Each scenario follows the same chain: the identity provider sends Claims, Nodinite matches them against Policies, and a matching Policy gives the user its Roles. Within one Policy, all Claims must match (AND); across the Policies on a Role, any match is enough (OR). Never put two Claims with the same key in one Policy, since no user can have both values; see Understanding Claim Logic in Policies.

flowchart LR IDP["fa:fa-id-card Identity provider
sends Claims"] --> C["fa:fa-key Claims
key=value"] C -->|"all must match (AND)"| P["fa:fa-shield-check Policy"] P -->|"any Policy matches (OR)"| R["fa:fa-users-class Role"] R --> S["fa:fa-lock Permission sets
Log, Monitor, Repository, C4"] style IDP fill:#9E59BB,color:#fff style C fill:#2678BD,color:#fff style P fill:#2678BD,color:#fff style R fill:#E47528,color:#fff style S fill:#3F827B,color:#fff

Purple = the external identity provider, blue = Claims and Policies in Nodinite, orange = the Role, teal = what the Role grants.

In every scenario, the last step is the same: give each Role its permission sets for Log Views, Monitor Views, the Repository Model, and C4 Diagram Sets.


Scenario 1: Department-Based Access Control

Section titled “Scenario 1: Department-Based Access Control”

Goal: Create separate access for Finance, Operations, and HR departments with different permission levels.

Navigate to Administration → Access Management → Claims, and create each Claim inline with Add Claim: fill in Key, Value, and Description, then Save (see Add or manage Claim):

Key Value Description
department finance Finance Department member
department operations Operations Department member
department hr Human Resources Department member
Key Value Description
access_level readonly Read-only access
access_level editor Read and edit access
access_level admin Full administrative access

Navigate to Administration → Access Management → Policies and create each Policy with Add Policy. In the Policy editor, tick the Claims on the Claims card; its All and Selected tabs show every Claim or only the ticked ones. Save confirms with Policy was successfully added (see Add or manage Policy):

  • Name: Finance User Policy
  • Description: Standard user access for Finance Department
  • Claims:
    • department=finance
    • access_level=editor
  • Name: Finance Admin Policy
  • Description: Administrative access for Finance Department
  • Claims:
    • department=finance
    • access_level=admin
  • Name: Operations User Policy
  • Description: Standard user access for Operations Department
  • Claims:
    • department=operations
    • access_level=editor
  • Name: HR Read-Only Policy
  • Description: Read-only access for HR Department
  • Claims:
    • department=hr
    • access_level=readonly

Create Roles for each department, then tick the Role on the Policy's Roles card (tabs All and Selected). In OIDC mode the Role's own Policies card then lists the Policy:

  • Finance User role → Assign Finance User Policy
  • Finance Manager role → Assign Finance Admin Policy
  • Operations Team role → Assign Operations User Policy
  • HR Viewer role → Assign HR Read-Only Policy

Users authenticate through their identity provider with department Claims:

  • Finance user with department=finance and access_level=editor gets Finance User role
  • Operations user with department=operations gets Operations Team role access

Goal: Restrict access by geographic region for a global company with European, Americas, and Asia-Pacific operations.

Key Value Description
region europe European region access
region americas Americas region access
region apac Asia-Pacific region access
region global Global/all regions access
Key Value Description
department operations Operations Department
department sales Sales Department
  • Name: European Operations Policy
  • Description: Operations access for European region
  • Claims:
    • region=europe
    • department=operations
    • access_level=admin
  • Name: Americas Sales Policy
  • Description: Sales access for Americas region
  • Claims:
    • region=americas
    • department=sales
    • access_level=editor
  • Name: Global Operations Policy
  • Description: Operations access for all regions
  • Claims:
    • region=global
    • department=operations
    • access_level=admin
  • Europe Operations role → Assign European Operations Policy
  • Americas Sales role → Assign Americas Sales Policy
  • Global Operations Manager role → Assign Global Operations Policy

Users see only integrations and monitors for their assigned region(s).


Scenario 3: Environment Separation (Dev/Test/Prod)

Section titled “Scenario 3: Environment Separation (Dev/Test/Prod)”

Goal: Separate access to Development, Test, and Production environments with strict controls on production.

Key Value Description
environment development Development environment
environment test Test environment
environment production Production environment
Key Value Description
role_type developer Developer role type
role_type tester QA/Tester role type
role_type operations Operations team role type

A user has only one environment value at a time, so Dev and Test need one Policy each (OR between Policies):

  • Name: Developer Dev Access

  • Description: Full access to the Development environment

  • Claims:

    • role_type=developer
    • environment=development
    • access_level=admin
  • Name: Developer Test Access

  • Description: Full access to the Test environment

  • Claims:

    • role_type=developer
    • environment=test
    • access_level=admin
  • Name: Tester Policy
  • Description: Full access to Test environment only
  • Claims:
    • role_type=tester
    • environment=test
    • access_level=editor
  • Name: Production Operations Policy
  • Description: Full access to Production environment
  • Claims:
    • role_type=operations
    • environment=production
    • access_level=admin
  • Name: Production Read-Only Policy
  • Description: Read-only production access for developers
  • Claims:
    • role_type=developer
    • environment=production
    • access_level=readonly
  • Developer role → Assign Developer Dev Access, Developer Test Access, and Production Read-Only Policy
  • QA Tester role → Assign Tester Policy
  • Operations Engineer role → Assign Production Operations Policy
  • Developers have full control in Dev/Test but read-only in Production
  • QA has full access to Test only
  • Operations has full Production access

Scenario 4: Compliance and Audit Requirements

Section titled “Scenario 4: Compliance and Audit Requirements”

Goal: Meet compliance requirements with specific claims for audited systems and PCI compliance.

Key Value Description
compliance pci-dss PCI-DSS compliant systems access
compliance hipaa HIPAA compliant systems access
compliance sox SOX compliant systems access
audit_access enabled Access to audit trails
data_classification confidential Confidential data access
  • Name: PCI Compliance Admin Policy
  • Description: Administrative access to PCI-DSS compliant payment systems
  • Claims:
    • compliance=pci-dss
    • department=finance
    • access_level=admin
    • data_classification=confidential
  • Name: Compliance Auditor Policy
  • Description: Read-only access for compliance auditors
  • Claims:
    • audit_access=enabled
    • access_level=readonly
  • PCI Administrator role → Assign PCI Compliance Admin Policy
  • Compliance Auditor role → Assign Compliance Auditor Policy

Only users with proper compliance Claims can access regulated systems.


Goal: Support multiple customers/tenants with isolated access in a shared Nodinite instance.

Key Value Description
tenant customer-a Customer A tenant
tenant customer-b Customer B tenant
tenant customer-c Customer C tenant
tenant internal Internal use tenant
  • Name: Customer A Operations Policy
  • Description: Operations access for Customer A
  • Claims:
    • tenant=customer-a
    • department=operations
    • access_level=admin
  • Name: Customer A Business User Policy
  • Description: Business user access for Customer A
  • Claims:
    • tenant=customer-a
    • access_level=readonly
  • Name: Internal Admin Policy
  • Description: Administrative access to all tenants for internal staff
  • Claims:
    • tenant=internal
    • access_level=admin
  • Customer A Ops role → Assign Customer A Operations Policy
  • Customer A User role → Assign Customer A Business User Policy
  • Internal Administrator role → Assign Internal Admin Policy

Each tenant sees only their own integrations and data.


Scenario 6: Migrating from Windows to OIDC

Section titled “Scenario 6: Migrating from Windows to OIDC”

Goal: Transition from Windows authentication (Users/Groups) to OIDC/OAuth 2.0 (Claims/Policies).

Map your existing Windows AD Groups to Claims:

Windows AD Group Maps To Claims
SE_Finance_Team department=finance, access_level=editor
SE_Finance_Managers department=finance, access_level=admin
SE_IT_Operations department=it, access_level=admin, environment=production
Global_Developers role_type=developer

Create Claims that represent your Windows Group permissions:

Key Value Description
department finance Replaces SE_Finance_Team group
department it Replaces SE_IT_Operations group
access_level editor Standard user permissions
access_level admin Admin permissions
role_type developer Developer role
environment production Production access
environment development Dev environment
environment test Test environment

Step 3: Create Policies Matching Windows Groups

Section titled “Step 3: Create Policies Matching Windows Groups”
  • Name: Finance Team Policy
  • Description: Replaces SE_Finance_Team Windows group
  • Claims:
    • department=finance
    • access_level=editor
  • Name: IT Operations Policy
  • Description: Replaces SE_IT_Operations Windows group
  • Claims:
    • department=it
    • access_level=admin
    • environment=production
  • Name: Developers Policy
  • Description: Replaces Global_Developers Windows group
  • Claims:
    • role_type=developer

In your identity provider (Azure AD, Okta, etc.):

  1. Map Windows group memberships to Claims
  2. Configure claim transformation rules
  3. Test with pilot users
  1. Switch authentication mode to OIDC/OAuth 2.0 (see Install Nodinite v7 - OpenID)
  2. Assign Policies to existing Roles
  3. Test access with pilot users
  4. Roll out to all users

Step 6: Decommission Windows Authentication

Section titled “Step 6: Decommission Windows Authentication”

Once verified:

  1. Remove Windows Users from Roles
  2. Remove Windows AD Groups from Roles
  3. Document the new Claims/Policies structure

Scenario 7: Dynamic Permissions Based on Time

Section titled “Scenario 7: Dynamic Permissions Based on Time”

Goal: Grant temporary elevated permissions for on-call staff.

Key Value Description
oncall_status active Currently on call
oncall_status inactive Not on call
shift weekday Weekday shift
shift weekend Weekend shift
  • Name: On-Call Administrator Policy
  • Description: Elevated permissions for on-call staff
  • Claims:
    • oncall_status=active
    • access_level=admin
    • environment=production
  • Name: Standard Operations Policy
  • Description: Normal operations permissions
  • Claims:
    • department=operations
    • access_level=editor

In your identity provider:

  1. Set up automated processes to add/remove oncall_status=active Claim
  2. Based on on-call schedule, dynamically assign Claims
  3. User gets elevated permissions only when on call

Users get elevated permissions during their on-call shift. The change isn't instant: Claims come from the user's token at sign-in, so a Claim added or removed in the identity provider takes effect at the user's next sign-in or token refresh. After that, the Web API can keep the user's old Roles, Policies, and Claims cached for up to 15 seconds.


  • Use lowercase for consistency
  • Use underscores for multi-word keys: access_level, role_type
  • Be descriptive: department, region, environment
  • Mixed case: AccessLevel, Dept
  • Abbreviations: env, rgn
  • Special characters: access-level, role.type
  • Start specific, not broad: Begin with granular Claims, combine into Policies
  • Keep Claims atomic: Each Claim represents one thing
  • Document everything: Use Description fields extensively
  • Group logically: Department-based, role-based, or function-based
  • Reuse Policies: Design Policies to be assigned to multiple Roles
  • Clear naming: Policy names should explain their purpose
  1. Test with pilot users before full rollout
  2. Verify Claim matching - ensure users receive correct Claims from identity provider
  3. Check permission inheritance - verify Role assignments work correctly
  4. Document test results for audit purposes
  • Principle of least privilege: Grant minimum necessary permissions
  • Regular audits: Review Claims, Policies, and Role assignments quarterly
  • Monitor access: Use Log Audits to track permission changes
  • When something goes wrong: follow Troubleshooting Claims and Policies
  • Separate environments: Different Policies for Dev, Test, Production

Add or manage Claim - Create Claims
Add or manage Policy - Create Policies
Add or manage Role - Assign Policies to Roles
Install Nodinite v7 - OpenID - Configure OIDC/OAuth 2.0
Troubleshooting Claims and Policies

What is a Claim?
What is a Policy?
What is a Role?
Access Management
Install Nodinite v7 - OpenID - EntraID
Permission Set for Log Views
Permission Set for Monitor Views
Permission Set for the Repository Model
Permission Set for C4 Diagram Sets

...

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...