---
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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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][]  

><i class="fal fa-square-plus" aria-hidden="true"></i> 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

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> uses **Role-Based Access Control ([RBAC](https://en.wikipedia.org/wiki/Role-based_access_control)<sup><i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i></sup>)** to enforce security policies. A <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> **Administrator** creates Roles and sets permission sets that define access to:

* **<i class="fal fa-hard-drive" aria-hidden="true"></i> [Log Views][]** - Which log data users can view and query
* **<i class="fal fa-display" aria-hidden="true"></i> [Monitor Views][]** - Which [Resources][] users can monitor and control
* **<i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]** - Which documentation entities users can read, create, or modify
* **<i class="fal fa-layer-group" aria-hidden="true"></i> [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

<span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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:

* **<i class="fal fa-user" aria-hidden="true"></i> [Users][]** - Individual Windows domain accounts (e.g., `CONTOSO\alice.smith`)
* **<i class="fab fa-windows" aria-hidden="true"></i> [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 <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span>.

![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 <i class="fal fa-ban" aria-hidden="true"></i> 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:

* **<i class="fal fa-shield-check" aria-hidden="true"></i> [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][].*  

## <i class="fal fa-lock" aria-hidden="true"></i> About Permission Sets

Permission sets enforce security policies for end-users and are set on each Role. For each **Role**, a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Administrator sets:

* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Log View permission set][Permission Set for Log Views]  
* <i class="fal fa-display" aria-hidden="true"></i> [Monitor View permission set][Permission Set for Monitor Views]  
* <i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model permission set][Permission Set for the Repository Model]  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [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.
  <aside aria-label="Note" class="nodinite-note nodinite-note--note">
  <p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
  <div class="nodinite-note__content"><p><strong>Inherited</strong> is <strong>NOT</strong> the same as <strong>Deny</strong>! It grants nothing by itself, but it blocks nothing either: another Role can still allow the right.</p></div>
  </aside>
* **Allow** – Access is granted.
* **Deny** – The feature is blocked. Use this setting only for special cases.

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Regardless of other permission sets, a <strong>Deny</strong> always wins. Since entities are assigned to <strong>Roles</strong>, you should rarely need <strong>Deny</strong>. Instead, consider removing the entity from the <strong>Role</strong>.</p></div>
</aside>

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

* **<i class="fal fa-door-open" aria-hidden="true"></i> Allow** - Members of the Role can access the entity
* **<i class="fal fa-ban" aria-hidden="true"></i> Deny** - Members of the Role can't access the entity

**Critical rule:** **Deny always wins** - a Deny overrides all Allow permissions. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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).*

## <i class="fal fa-circle-nodes" aria-hidden="true"></i> 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][], <sup><span class="nodinite-new-badge">New 7.10</span></sup> 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|  
|---|---|---|---|---|---|  
|<i class="fal fa-user" aria-hidden="true"></i> Agni<br/><i class="fal fa-user-tie" aria-hidden="true"></i> 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|  
|-|<i class="fal fa-users" aria-hidden="true"></i> 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|  
|<i class="fal fa-user-hard-hat" aria-hidden="true"></i> 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|  
|<i class="fal fa-user-crown" aria-hidden="true"></i> John|<i class="fal fa-user-edit" aria-hidden="true"></i> SE_DevTeam<br/><i class="fal fa-user-edit" aria-hidden="true"></i> 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][].

____

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

<i class="fal fa-users-class" aria-hidden="true"></i> [Add or manage Role][]  
<i class="fal fa-hard-drive" aria-hidden="true"></i> [Add or manage Log View][]  
<i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]  
<i class="fal fa-layer-group" aria-hidden="true"></i> [Add or manage C4 Diagram Set][]  
<i class="fal fa-sitemap" aria-hidden="true"></i> [Repository Model][]  

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

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/FinanceRoleWithDomainGropsAndWindowsUsers.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Policies/PolicyRolesCard.png
[3]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/Roles_DenyWins.gif
[4]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/Roles_ViewMembers.gif

[Access Management]:https://docs.nodinite.com/administration/access-management/overview/
[Access Management Troubleshooting]:https://docs.nodinite.com/administration/access-management/troubleshooting/overview/
[Add or manage C4 Diagram Set]:https://docs.nodinite.com/administration/customize/c4-diagram-sets/features/add-or-manage-c4-diagram-set/
[Add or manage Log View]:https://docs.nodinite.com/administration/log-management/log-views/features/add-or-manage-log-view/
[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Add or manage Policy]:https://docs.nodinite.com/administration/access-management/policies/features/add-or-manage-policy/
[Add or manage Role]:https://docs.nodinite.com/administration/access-management/roles/features/add-or-manage-role/
[Articles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/overview/
[BPMs]:https://docs.nodinite.com/repository-model/bpms/overview/
[C4 Diagram Sets]:https://docs.nodinite.com/administration/customize/c4-diagram-sets/overview/
[Claims]:https://docs.nodinite.com/administration/access-management/claims/features/what-is-a-claim/
[Claims and Policies - Common Scenarios]:https://docs.nodinite.com/administration/access-management/getting-started/common-scenarios/
[Contracts]:https://docs.nodinite.com/getting-started/repository/contracts/overview/
[Custom Fields]:https://docs.nodinite.com/repository-model/custom-fields/overview/
[Custom Metadata]:https://docs.nodinite.com/repository-model/custom-metadata/overview/
[DefaultRolesInViews]:https://docs.nodinite.com/administration/settings/system-parameters/defaultrolesinviews/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[Endpoints]:https://docs.nodinite.com/repository-model/endpoints/overview/
[GS - Administration - Overview]:https://docs.nodinite.com/getting-started/administration/overview/
[IIS Authentication settings]:https://docs.nodinite.com/install-and-update/troubleshooting/iis/iis-authentication-settings/
[Install Nodinite v7 - Authentication]:https://docs.nodinite.com/install-and-update/getting-started/version-7/install-nodinite-v7-steps/02-auth/
[Integrations]:https://docs.nodinite.com/repository-model/integrations/overview/
[Log Audits]:https://docs.nodinite.com/administration/tools/log-audit-search/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Mapify]:https://docs.nodinite.com/mapify/overview/
[Mapify Rendering]:https://docs.nodinite.com/mapify/features/mapify-rendering/
[MCP Endpoint]:https://docs.nodinite.com/ai/mcp-endpoint/
[Mermaid Rendering]:https://docs.nodinite.com/mapify/features/mermaid-rendering/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Permission Set for C4 Diagram Sets]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-c4-diagram-sets/
[Permission Set for Log Views]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-log-views/
[Permission Set for Monitor Views]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-monitor-views/
[Permission Set for the Repository Model]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-the-repository-model/
[Policies]:https://docs.nodinite.com/administration/access-management/policies/features/what-is-a-policy/
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Repository Model]:https://docs.nodinite.com/repository-model/overview/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Roles Overview]:https://docs.nodinite.com/administration/access-management/roles/overview/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[System Parameters]:https://docs.nodinite.com/administration/settings/system-parameters/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/
[UseActiveDirectoryGroups]:https://docs.nodinite.com/administration/settings/system-parameters/useactivedirectorygroups/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Windows AD Groups]:https://docs.nodinite.com/administration/access-management/windows-ad-groups/features/what-is-a-windows-ad-group/
[Windows AD Groups - Mapify and Mermaid]:https://docs.nodinite.com/administration/access-management/windows-ad-groups/features/what-is-a-windows-ad-group/#see-a-groups-relations-in-mapify-and-mermaid
[Windows Server]:https://docs.nodinite.com/logging-and-monitoring/windows-server/features/windows-server/