---
title: What is a Role? Role-Based Access Control in Nodinite
description: A Nodinite Role is a named set of permissions for Log Views, Monitor Views, the Repository Model, and C4 Diagram Sets. Learn how Roles work with Windows or OIDC/OAuth 2.0 authentication and how Allow, Deny, and Inherited combine.
---

# What is a Role?

A **Role** in :Nodinite: is a named collection of permissions that controls what users can see and do. Roles let business users solve their own problems, safely: each team gets exactly the [Log Views][], [Monitor Views][], documentation, and diagrams it needs, and nothing more.

* ✅ One authorization model for Windows and OIDC/OAuth 2.0 authentication  
* ✅ Four permission sets: Log Views, Monitor Views, [Repository Model][], [C4 Diagram Sets][]  
* ✅ Cumulative permissions across Roles, with **Deny** always winning  
* ✅ Every sensitive action recorded in [Log Audits][]  
* ✅ The same Roles also apply to the [Web API][] and the [MCP Endpoint][]  

>:fa-square-plus: Get started now: [Add or manage Role][]. All Roles are listed in the [Roles Overview][].

![The Roles list filtered on Contoso, the Role Contoso: Operations opened on its General tab, and its Users card with the Contoso user alice.smith and Windows AD Groups card with the Contoso Finance Team group, animated walkthrough (7.13)][4]  
*Animated walkthrough: who has the Role Contoso: Operations, read from the Role's own page.*  

1. In **Administration** > [Access Management][] > **Roles**, filter on *Contoso*.
2. Open *Contoso: Operations*. The Role's page opens on the **General** tab; it is also the Role's view, there is no separate read-only page.
3. The **Users** card lists the [Users][] who are members, here *CONTOSO\alice.smith*, with a count in its header.
4. The **Windows AD Groups** card lists the [Windows AD Groups][] that have the Role, here *CONTOSO\Finance Team*: every member of the group gets the Role too.

In OIDC/OAuth 2.0 mode, the **General** tab lists the Role's [Policies][] instead. **Edit** on a card changes the members.

## Overview

:Nodinite: uses **Role-Based Access Control ([RBAC](https://en.wikipedia.org/wiki/Role-based_access_control)<sup>:fa-arrow-up-right-from-square:</sup>)** to enforce security policies. A :Nodinite: **Administrator** creates Roles and sets permission sets that define access to:

* **:fa-hard-drive: [Log Views][]** - Which log data users can view and query
* **:fa-display: [Monitor Views][]** - Which [Resources][] users can monitor and control
* **:fa-sitemap: [Repository Model][]** - Which documentation entities users can read, create, or modify
* **:fa-layer-group: [C4 Diagram Sets][]** - Which architecture diagram sets users can open, create, or change

**The key principle:** once a user authenticates (by any method), **Roles determine what they can do**. Authentication establishes identity; Roles enforce authorization.

All potentially sensitive operations are recorded in the [Audit Log][Log Audits] for compliance and security tracking.

### The Built-in Administrators Role

Every installation has a built-in **Administrators** Role. Its members have access to all features, including the **Administration** menu and [Access Management][]. The Role can't be renamed or deleted, but you can change who is a member, on its [Users][Users] and [Windows AD Groups][Windows AD Groups] cards. Keep it in the [DefaultRolesInViews][] [System Parameter][System Parameters] so administrators can reach every new Log View, Monitor View, and C4 Diagram Set.

## Why Roles Are Authentication-Mode Agnostic

:Nodinite: v7 supports two authentication modes, but **Roles work identically in both**:

| Authentication Step | Authorization Step (Same for Both Modes) |
|---------------------|----------------------------------------|
| **Windows Auth:** User logs in with `DOMAIN\username` → matched to [Users][] or [Windows AD Groups][] → assigned to Roles | **Role permissions define access** - User sees only the Log Views, Monitor Views, Repository Model items, and C4 Diagram Sets permitted by their assigned Roles |
| **OAuth 2.0/OIDC:** User logs in via identity provider (Azure AD, Okta, etc.) → [Claims][] matched to [Policies][] → assigned to Roles | **Role permissions define access** - User sees only the Log Views, Monitor Views, Repository Model items, and C4 Diagram Sets permitted by their assigned Roles |

No matter how users authenticate, once they're assigned to Roles, the permission system is identical.

## How Users Are Assigned to Roles

The **assignment mechanism** differs by authentication mode; the **Role functionality** is the same.

### Windows Authentication Mode

In [Windows Authentication][IIS Authentication settings] mode, Roles are assigned to:

* **:fa-user: [Users][]** - Individual Windows domain accounts (e.g., `CONTOSO\alice.smith`)
* **:fab fa-windows: [Windows AD Groups][]** - Active Directory security groups (e.g., `CONTOSO\Finance Team`), available while the [UseActiveDirectoryGroups][] System Parameter is `true`

**Assignment is direct:** Administrators add Users or AD Groups to Roles in :Nodinite:.

![The Role Contoso: Order Desk on its General tab with one User and two Windows AD Groups, next to the four permission tabs (7.13)][1]  
*A Role with a Windows User and two Windows AD Groups; use **Edit** on each card to change the members. The Log, Monitor, C4 Set, and [Repository Permissions][Permission Set for the Repository Model] tabs hold the permission sets; a red :fa-ban: before Log or Monitor Permissions means the Role has no Access to Log or Monitor yet.*  

### OAuth 2.0 / OIDC Authentication Mode

In OAuth 2.0/OIDC mode, Roles are assigned to:

* **:fa-shield-check: [Policies][]** - Groups of [Claims][] (key/value pairs from the identity provider)

**Assignment is dynamic:** when a user authenticates, their Claims (from Azure AD, Okta, etc.) are matched against each Policy. A user who has **all** Claims of a Policy gets that Policy's Roles.

#### Example: Finance Department Policy

* **Policy:** "Finance Department Policy"
* **Claim Requirements:** `department=finance` AND `access_level=editor`
* **Assigned to Role:** "Finance Editor"
* **Result:** A user with the `department=finance` and `access_level=editor` Claims automatically gets the "Finance Editor" Role

![Roles card in the Policy editor with the Role Contoso: Warehouse Staff selected][2]  
*In OIDC/OAuth 2.0 mode, you pick the Roles for a Policy on the Policy's Roles tab, see [Add or manage Policy][].*  

## :fa-lock: About Permission Sets

Permission sets enforce security policies for end-users and are set on each Role. For each **Role**, a :Nodinite: Administrator sets:

* :fa-hard-drive: [Log View permission set][Permission Set for Log Views]  
* :fa-display: [Monitor View permission set][Permission Set for Monitor Views]  
* :fa-sitemap: [Repository Model permission set][Permission Set for the Repository Model]  
* :fa-layer-group: [C4 Diagram Set permission set][Permission Set for C4 Diagram Sets]  

A permission can be set globally (for all items of a kind) or on each item. The values are:

* **Inherited** – Default. Nothing is stored for the item, so the global setting decides. When the global setting is **Inherited** too, the right is not granted, unless another Role allows it.
  >[!NOTE]
  >**Inherited** is **NOT** the same as **Deny**! It grants nothing by itself, but it blocks nothing either: another Role can still allow the right.
* **Allow** – Access is granted.
* **Deny** – The feature is blocked. Use this setting only for special cases.

>[!IMPORTANT]
>Regardless of other permission sets, a **Deny** always wins. Since entities are assigned to **Roles**, you should rarely need **Deny**. Instead, consider removing the entity from the **Role**.

<div class="mermaid">
flowchart LR
    G["fa:fa-globe Global setting"] -->|"Inherit, Allow, or Deny"| P["fa:fa-gear Permission on one item"]
    P --> A["fa:fa-circle-check Allow: access granted"]
    P --> D["fa:fa-ban Deny: blocked, always wins"]
    style G fill:#2678BD,color:#fff
    style P fill:#E47528,color:#fff
    style A fill:#93d16d,color:#000
    style D fill:#c33d34,color:#fff
</div>

*Blue = the global setting, orange = the permission on one Log View, Monitor View, entity, or set, green = Allow, red = Deny.*

## Role Components: Permission Sets

**Regardless of authentication mode**, every Role defines access through four permission sets:

| Permission Set | Purpose | Controls Access To |
|---------------|---------|-------------------|
| [Log Views][Permission Set for Log Views] | Which log data users can view, query, resend, or repair | Log Views, message context, body, transformed body |
| [Monitor Views][Permission Set for Monitor Views] | Which monitored resources users can observe and control | Monitor Views, [Remote Actions][], metrics, history, [Articles][] |
| [Repository Model][Permission Set for the Repository Model] | Which documentation users can read, create, or modify | [Integrations][], [Systems][], [Services][], [Contracts][], [Message Types][], [Endpoints][], Articles, [Custom Fields][], [Custom Metadata][], [BPMs][], [Domains][] |
| [C4 Diagram Sets][Permission Set for C4 Diagram Sets] | Which architecture diagram sets users can open, create, or change | Assigned C4 Diagram Sets, Import, grouped-log dynamic diagrams |

### Access Rights: Allow and Deny

For end-users to work with these entities, the **Access** permission must be set to **Allow**.

* **:fa-door-open: Allow** - Members of the Role can access the entity
* **:fa-ban: Deny** - Members of the Role can't access the entity

**Critical rule:** **Deny always wins** - a Deny overrides all Allow permissions. :Nodinite: pools the rights of all Roles a user belongs to: any **Deny**, in any Role, blocks; otherwise any **Allow** grants; and a right that no Role sets is not granted. A denied view is not listed in the member's **Monitor** or **Log** lists, is not counted in the Monitor status counts, and can't be opened.

![A member of Contoso: Order Desk, which allows the Monitor View Contoso: Orders, and of Contoso: Operations, which is set to Deny on the same view; after Save, Contoso: Orders is gone from the member's Monitor list, animated walkthrough (7.12)][3]  
*Animated walkthrough: *Contoso: Order Desk* allows *Contoso: Orders*, *Contoso: Operations* denies it, and the view is gone from the member's **Monitor** list. The remaining row, *Contoso: Orders (night shift)*, is a different Monitor View.*  

<div class="mermaid">
flowchart TD
    subgraph Role["fa:fa-users-class Role"]
        A["fa:fa-door-open Access"]
        L["fa:fa-hard-drive Log Views"]
        M["fa:fa-display Monitor Views"]
        R["fa:fa-sitemap Repository"]
        C["fa:fa-layer-group C4 Diagram Sets"]
        A -->|"Allow or Deny"| L
        A -->|"Allow or Deny"| M
        A -->|"Allow or Deny"| R
        A -->|"Allow or Deny"| C
    end
    style A fill:#E47528,color:#fff
    style L fill:#3F827B,color:#fff
    style M fill:#3F827B,color:#fff
    style R fill:#3F827B,color:#fff
    style C fill:#3F827B,color:#fff
</div>

*The Access right (orange) opens each of the four independent permission sets (teal).*

## :fa-circle-nodes: Visualize a Role and Its Relations

To see who and what a Role is connected to, open the Role's **Action** menu in the [Roles Overview][] and click **Show in Mapify** (interactive graph, [Mapify Rendering][], :new7.10: with a [Mapify][] license) or **Show in Mermaid** (static diagram, [Mermaid Rendering][], no extra license). The Role's page has the same two buttons, **Mapify** and **Mermaid**, in its header. Mapify needs the **Administrators** Role or the Repository **Maps** right; both open at depth 1, and you raise the depth to bring in the Role's views. The same entries are on [Users][], [Windows AD Groups][], [Policies][] and [Claims][]; see [What is a Windows AD Group][Windows AD Groups - Mapify and Mermaid] for a walkthrough.

____

## Examples: How Roles Work in Both Authentication Modes

The examples below show how Roles define the same types of permissions in **both** Windows and OIDC/OAuth 2.0 environments. The **assignment mechanism** differs (Users/Groups vs Policies), but the **permission structure** is identical.

### Windows Authentication Mode Example

|Windows User|AD Group|Role|Log Views|Monitor Views|Repository|  
|---|---|---|---|---|---|  
|:fa-user: Agni<br/>:fa-user-tie: Waseem|-|Economy|Find Order by Order Id|Get alerts, troubleshoot if the daily exchange-rate failed to appear before 08:15|Read rights on monitored resources|  
|-|:fa-users: SE_IT_Operations|IT-Operations|Can use and manage all Log Views|Get alerts from all detected problems and can perform Remote Actions to swiftly resolve problems|Maintains the Knowledge base Articles and modifies the custom metadata fields|  
|:fa-user-hard-hat: Joe|-|Production|Denied|A single Monitor View with the right to restart the printer service on a [Windows Server][]|Can read the knowledge base article with the restart instructions|  
|:fa-user-crown: John|:fa-user-edit: SE_DevTeam<br/>:fa-user-edit: NO_DevTeam|Developers|Denied|Denied|Writes the Knowledge base Articles and contributes with the documentation for new systems integrations solutions|  

### OIDC/OAuth 2.0 Mode Example

|Policy|Claims in Policy|Role|Log Views|Monitor Views|Repository|  
|---|---|---|---|---|---|  
|Finance User Policy|`department=finance`<br/>`access_level=editor`|Finance Editor|Finance-specific Log Views|Finance Monitor Views|Read rights on finance resources|  
|IT Operations Policy|`department=it`<br/>`access_level=admin`<br/>`environment=production`|IT Operations|All Log Views|All Monitor Views with Remote Actions|Full access to Knowledge Base|  
|Developer Policy|`team=development`<br/>`environment=test`|Developers|Development Log Views|Test/Dev Monitor Views|Write access to documentation|  

More worked examples are in [Claims and Policies - Common Scenarios][].

____

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

:fa-users-class: [Add or manage Role][]  
:fa-hard-drive: [Add or manage Log View][]  
:fa-display: [Add or manage Monitor View][]  
:fa-layer-group: [Add or manage C4 Diagram Set][]  
:fa-sitemap: [Repository Model][]  

## :fa-link-horizontal: Related Topics
:fa-hard-drive: [Log View permission set][Permission Set for Log Views]  
:fa-display: [Monitor View permission set][Permission Set for Monitor Views]  
:fa-sitemap: [Repository Model permission set][Permission Set for the Repository Model]  
:fa-layer-group: [C4 Diagram Set permission set][Permission Set for C4 Diagram Sets]  
:fa-user: [Users][] - Individual Windows accounts  
:fab fa-windows: [Windows AD Groups][] - Active Directory groups  
:fa-sliders: [UseActiveDirectoryGroups][] - Turn Windows AD Groups on or off  
:fa-key: [Claims][] - Key/value authorization attributes  
:fa-shield-check: [Policies][] - Groups of Claims  
:fa-wrench: [Troubleshooting Claims and Policies][Access Management Troubleshooting]  
:fa-user-secret: [Access Management][] - Authorization overview  
:fa-users-class: [Roles Overview][] - All Roles  
:fa-sliders: [DefaultRolesInViews][] - Roles pre-selected on new views and sets  
:fa-user-tag: [Log Audits][] - Audit trail  
:fa-circle-nodes: [Mapify Rendering][] - Show a Role's relations as an interactive graph  
:fa-diagram-project: [Mermaid Rendering][] - Show a Role's relations as a static diagram  
:fa-search: [Log Views][]  
:fa-display: [Monitor Views][]  
:fa-graduation-cap: [Access and Administration][GS - Administration - Overview] - Who business users ask for access, and what for  
:fa-id-card: [Install Nodinite v7 - Authentication][] - Authentication modes  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/FinanceRoleWithDomainGropsAndWindowsUsers.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/PolicyRolesCard.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/Roles_DenyWins.gif
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/Roles_ViewMembers.gif

[Access Management]:{ndr}/Administration/3.%20Access%20Management/Overview.md
[Access Management Troubleshooting]:{ndr}/Administration/3.%20Access%20Management/Troubleshooting/Overview.md
[Add or manage C4 Diagram Set]:{ndr}/Administration/4.%20Customize/6.%20C4%20Diagram%20Sets/Features/Add%20or%20manage%20C4%20Diagram%20Set.md
[Add or manage Log View]:{ndr}/Administration/1.%20Log%20Management/1.%20Log%20Views/Features/Add%20or%20Manage%20Log%20View.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.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
[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[BPMs]:{ndr}/Repository%20Model/BPMs/Overview.md
[C4 Diagram Sets]:{ndr}/Administration/4.%20Customize/6.%20C4%20Diagram%20Sets/Overview.md
[Claims]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Features/What%20is%20a%20Claim.md
[Claims and Policies - Common Scenarios]:{ndr}/Administration/3.%20Access%20Management/Getting%20Started/Common%20Scenarios.md
[Contracts]:{ndr}/Getting%20Started/4.%20Repository/Contracts/Overview.md
[Custom Fields]:{ndr}/Repository%20Model/Custom%20Fields/Overview.md
[Custom Metadata]:{ndr}/Repository%20Model/Custom%20Metadata/Overview.md
[DefaultRolesInViews]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DefaultRolesInViews.md
[Domains]:{ndr}/Repository%20Model/Domains/Overview.md
[Endpoints]:{ndr}/Repository%20Model/Endpoints/Overview.md
[GS - Administration - Overview]:{ndr}/Getting%20Started/5.%20Administration/Overview.md
[IIS Authentication settings]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md
[Install Nodinite v7 - Authentication]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/02%20-%20Auth.md
[Integrations]:{ndr}/Repository%20Model/Integrations/Overview.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
[Mapify Rendering]:{ndr}/Mapify/Features/Mapify%20Rendering.md
[MCP Endpoint]:{ndr}/AI/MCP%20Endpoint.md
[Mermaid Rendering]:{ndr}/Mapify/Features/Mermaid%20Rendering.md
[Message Types]:{ndr}/Repository%20Model/Message%20Types/Overview.md
[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
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Repository Model]:{ndr}/Repository%20Model/Overview.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Roles Overview]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Overview.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Systems]:{ndr}/Repository%20Model/Systems/Overview.md
[UseActiveDirectoryGroups]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/UseActiveDirectoryGroups.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Windows AD Groups]:{ndr}/Administration/3.%20Access%20Management/3.%20Windows%20AD%20Groups/Features/What%20is%20a%20Windows%20AD%20Group.md
[Windows AD Groups - Mapify and Mermaid]:{ndr}/Administration/3.%20Access%20Management/3.%20Windows%20AD%20Groups/Features/What%20is%20a%20Windows%20AD%20Group.md#see-a-groups-relations-in-mapify-and-mermaid
[Windows Server]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/Windows%20Server.md