---
title: Role-Based Access for C4 Diagram Sets
description: "Learn how role-based access works for C4 Diagram Sets in Nodinite: global Access, Create, and Modify, per-set Access and Modify, the Logging right, how Create gates Import, and how DefaultRolesInViews sets default roles on new sets."
---

# :fa-user-shield: Role-Based Access for C4 Diagram Sets

Use this guide to align C4 Diagram Set permissions with the standard :Nodinite: role model. A [C4 Diagram Set][What is a C4 Diagram Set] holds the [Architecture Diagrams][] for one software system, so who can open it, and who can open runtime diagrams from grouped [Log Views][], is a governance decision made through [Roles][What is a Role?].

* :fa-lock: Keep architecture governance consistent with existing Roles and permission sets  
* :fa-layer-group: Control who can access and modify assigned C4 Diagram Sets  
* :fa-file-plus: Control who can create new sets and import diagrams  
* :fa-waveform-lines: Control who can use grouped-log dynamic diagram features  
* :fa-list-check: Keep assignment and permission handling consistent with the Manage Role workflow  

![Assign the Order-to-Cash Diagram Set to a Role with Access only, then open it as a member of that Role, read-only, animated walkthrough (7.12)][2]  
*Animated walkthrough: in the Role editor, a [Diagram Set][Diagram Set Fundamentals] of the [Order-to-Cash demo][O2C Demo] is assigned to a Role with **Access**, and a member of that Role then sees the set and its diagrams without **Edit**, **New Diagram**, or **Designer**.*  

## :fa-diagram-project: Understanding the Permission Model for C4 Diagram Sets

<div class="mermaid">
flowchart LR
    User["fa:fa-user User"] --> Role["fa:fa-user-shield Role"]
    Role --> Access["fa:fa-folder-open Access<br/>global and per assigned set"]
    Role --> Modify["fa:fa-file-pen Modify<br/>global and per assigned set"]
    Role --> Create["fa:fa-file-plus Create<br/>global only"]
    Role --> Logging["fa:fa-waveform-lines Logging<br/>global"]
    Access --> Sets["fa:fa-sitemap C4 Diagram Sets"]
    Modify --> Sets
    Create --> NewSets["fa:fa-file-import New sets and Import"]
    Logging --> Runtime["fa:fa-route Grouped-log dynamic diagrams"]
</div>

*Rights are evaluated through the user's Roles: Access and Modify control the sets, Create controls new sets and Import, and Logging controls the grouped-log dynamic diagram entry points.*

The C4 permission set uses the same role-based model as other repository features. Rights are evaluated through assigned Roles. [Permission Set for C4 Diagram Sets][] is the full reference, including the permission object types.

| Permission | Scope | Recommendation |
|---|---|---|
| **Access** | Global and per assigned C4 Diagram Set | Grant to architecture consumers and maintainers |
| **Modify** | Global and per assigned C4 Diagram Set | Grant to the architects who maintain the diagrams. It also covers linking and unlinking [Articles][] on the set's nodes and boundaries |
| **Create** (Create C4 Diagram Sets) | Global only | Grant only to Roles that create Diagram Sets or [Import][] diagrams |
| **Logging** | Global | Grant only to users who need grouped-log dynamic diagram capabilities ([Inspect Grouped Log Views as Runtime Diagrams][]) |

![Role editor C4 Set Permissions tab after Save, with Global permissions for C4 Diagram Sets and Logging, and one assigned C4 Diagram Set with Access Allow and Modify Inherited (7.12)][1]  
*The **C4 Set Permissions** tab in the Role editor: **Access**, **Create**, and **Modify** on the **C4 Diagram Sets** row and **Access** on the **Logging** row under **Global permissions**, with the per-set assignments below.*  

## :fa-file-plus: The Global Create Right

**Create C4 Diagram Sets** lives only under **Global permissions** on the C4 tab of the Role editor, in the **Create** column of the **C4 Diagram Sets** row, next to **Access** and **Modify**. It is not in the per-set assignment modal, which has only Access and Modify, because a set that doesn't exist yet can't be assigned.

The right gates [Import][] twice: the **Import** button is shown only to users who have it, and the server rejects the import apply step without it, so API callers can't bypass it.

## :fa-people-arrows: Assignment Workflow in Manage Role

Administrators assign C4 Diagram Sets from the **C4 Set Permissions (x)** tab in the Role editor ([Add or manage Role][]):

* The tab count **x** shows how many C4 Diagram Sets are assigned to the Role.
* Access and Modify are evaluated per assigned set (inheriting from the global value), while Create and Logging are evaluated at global scope. A deny on a set wins over an allow, the global one included.
* :new7.12: Linking an Article to a C4 node or boundary, or removing the link, takes Modify on that node's set: Modify on this set only is enough, and global Modify with a deny on this set is refused. This holds from the diagram and from the Article alike.

To give a Role read-only access to a set:

1. Open **Administration** > **Roles**, open the Role, and select the **C4 Set Permissions** tab.
2. Click **Edit**. The **Assign C4 Diagram Sets to Role** dialog has the tabs **All** and **Selected**, a filter, and a [Tag][Tags] filter.
3. Filter on the set, tick it, and click **Confirm and close**. The tab lists the set with **Access** Allow and **Modify** Inherited, so the Role can't change it.
4. Click **Save**.

A member of the Role now opens the set without **Edit** and **New Diagram**, and its diagrams without **Edit** and **Designer**. The Role also needs **Access** on **C4 Diagram Sets** under **Global permissions**, and Repository Access ([Permission Set for the Repository Model][]); without Repository Access the Repository menu isn't there. Monitoring on the diagrams follows the member's [Monitor View][Monitor Views] rights: without them, [Service][Services] nodes show no state pills ([Monitoring][C4 Monitoring]).

## :fa-waveform-lines: Logging Behavior

Logging permission controls whether users can access grouped-log dynamic diagram capabilities linked to C4 Diagram Sets. Keep this permission limited to Roles that need these log-driven diagram actions.

The **Logging** right is not about the [Log Audits][]. Every change to a C4 Diagram Set writes a Log Audit entry; reading and exporting write none:

| Written to the Log Audits | Not written |
|---|---|
| Diagram Set: create, edit, delete, restore, permanently delete | Opening a set or a diagram, in the interactive or Mermaid view |
| Diagram: create, edit, delete or permanently delete, Promote | **Show in Mermaid**, **Show in Mapify** ([Mapify][]) |
| Nodes, connectors, boundaries, and diagram links: add, change, remove (Designer, [Import][], Sync, **Apply Selected**) | Export in any format, single or ZIP, **Print**, **Copy Mermaid source** |
| Roles assigned to a set, [Custom Metadata][] on a diagram | Coverage, Impact Inbox, AI questions |
| [Diagram Assistance][] review states (**Dismiss**, **Snooze**, **Intentional**) | |

## :fa-sliders: Default Role Assignment on New Sets

From :Nodinite: 7.6.0 and later, new Diagram Sets can inherit default roles through [DefaultRolesInViews][]. This helps administrators apply a baseline access model when sets are created.

Use this together with the C4 Diagram Set permission set to avoid manual post-creation access fixes.

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

* :fa-user-shield: [Permission Set for C4 Diagram Sets][]  
* :fa-square-plus: [Add or manage C4 Diagram Set][]  
* :fa-wand-magic-sparkles: [Generate from Integration Landscape][]  
* :fa-file-import: [Import][]  

## :fa-link-horizontal: Related Topics

* :fa-sitemap: [Architecture Diagrams][]  
* :fa-users: [What is a Role?][]  
* :fa-key: [Permission Set for the Repository Model][]  
* :fa-sliders: [DefaultRolesInViews][]  
* :fa-route: [Inspect Grouped Log Views as Runtime Diagrams][]  
* :fa-circle-question: [What is a C4 Diagram Set?][What is a C4 Diagram Set]  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/C4/C4Set_PermissionsInterface.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/C4_RoleAccess.gif

[Add or manage C4 Diagram Set]:{ndr}/Getting%20Started/4.%20Repository/C4%20Diagrams/Add%20or%20manage%20C4%20Diagram%20Set.md
[Add or manage Role]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Add%20or%20manage%20Role.md
[Architecture Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Overview.md
[Articles]:{ndr}/Repository%20Model/Knowledge%20base%20Articles/Overview.md
[C4 Monitoring]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Monitoring.md
[Custom Metadata]:{ndr}/Repository%20Model/Custom%20Metadata/Overview.md
[DefaultRolesInViews]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/DefaultRolesInViews.md
[Diagram Assistance]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Assistance.md
[Diagram Set Fundamentals]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Diagram%20Set%20Fundamentals.md
[Generate from Integration Landscape]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Generate%20from%20Integration%20Landscape.md
[Import]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Import.md
[Inspect Grouped Log Views as Runtime Diagrams]:{ndr}/Repository%20Model/C4%20Diagrams/Features/Inspect%20Grouped%20Log%20Views%20as%20Runtime%20Diagrams.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
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[O2C Demo]:{ndr}/Repository%20Model/BPMs/Examples/Order-to-Cash/Overview.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 the Repository Model]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/Permission%20Set%20for%20the%20Repository%20Model.md
[Services]:{ndr}/Repository%20Model/Services/Overview.md
[Tags]:{ndr}/Administration/4.%20Customize/5.%20Tags/Features/What%20is%20a%20Tag.md
[What is a C4 Diagram Set]:{ndr}/Repository%20Model/C4%20Diagrams/Features/What%20is%20a%20C4%20Diagram%20Set.md
[What is a Role?]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md