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

# <i class="fal fa-user-shield" aria-hidden="true"></i> Role-Based Access for C4 Diagram Sets

Use this guide to align C4 Diagram Set permissions with the standard <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> 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?].

* <i class="fal fa-lock" aria-hidden="true"></i> Keep architecture governance consistent with existing Roles and permission sets  
* <i class="fal fa-layer-group" aria-hidden="true"></i> Control who can access and modify assigned C4 Diagram Sets  
* <i class="fal fa-file-plus" aria-hidden="true"></i> Control who can create new sets and import diagrams  
* <i class="fal fa-waveform-lines" aria-hidden="true"></i> Control who can use grouped-log dynamic diagram features  
* <i class="fal fa-list-check" aria-hidden="true"></i> 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**.*  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> 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.*  

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

## <i class="fal fa-people-arrows" aria-hidden="true"></i> 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.
* <sup><span class="nodinite-new-badge">New 7.12</span></sup> 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]).

## <i class="fal fa-waveform-lines" aria-hidden="true"></i> 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**) | |

## <i class="fal fa-sliders" aria-hidden="true"></i> Default Role Assignment on New Sets

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

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

* <i class="fal fa-user-shield" aria-hidden="true"></i> [Permission Set for C4 Diagram Sets][]  
* <i class="fal fa-square-plus" aria-hidden="true"></i> [Add or manage C4 Diagram Set][]  
* <i class="fal fa-wand-magic-sparkles" aria-hidden="true"></i> [Generate from Integration Landscape][]  
* <i class="fal fa-file-import" aria-hidden="true"></i> [Import][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-sitemap" aria-hidden="true"></i> [Architecture Diagrams][]  
* <i class="fal fa-users" aria-hidden="true"></i> [What is a Role?][]  
* <i class="fal fa-key" aria-hidden="true"></i> [Permission Set for the Repository Model][]  
* <i class="fal fa-sliders" aria-hidden="true"></i> [DefaultRolesInViews][]  
* <i class="fal fa-route" aria-hidden="true"></i> [Inspect Grouped Log Views as Runtime Diagrams][]  
* <i class="fal fa-circle-question" aria-hidden="true"></i> [What is a C4 Diagram Set?][What is a C4 Diagram Set]  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Roles/C4/C4Set_PermissionsInterface.png
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/C4/Set/C4_RoleAccess.gif

[Add or manage C4 Diagram Set]:https://docs.nodinite.com/getting-started/repository/c4-diagrams/add-or-manage-c4-diagram-set/
[Add or manage Role]:https://docs.nodinite.com/administration/access-management/roles/features/add-or-manage-role/
[Architecture Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/overview/
[Articles]:https://docs.nodinite.com/repository-model/knowledge-base-articles/overview/
[C4 Monitoring]:https://docs.nodinite.com/repository-model/c4-diagrams/features/monitoring/
[Custom Metadata]:https://docs.nodinite.com/repository-model/custom-metadata/overview/
[DefaultRolesInViews]:https://docs.nodinite.com/administration/settings/system-parameters/defaultrolesinviews/
[Diagram Assistance]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-assistance/
[Diagram Set Fundamentals]:https://docs.nodinite.com/repository-model/c4-diagrams/features/diagram-set-fundamentals/
[Generate from Integration Landscape]:https://docs.nodinite.com/repository-model/c4-diagrams/features/generate-from-integration-landscape/
[Import]:https://docs.nodinite.com/repository-model/c4-diagrams/features/import/
[Inspect Grouped Log Views as Runtime Diagrams]:https://docs.nodinite.com/repository-model/c4-diagrams/features/inspect-grouped-log-views-as-runtime-diagrams/
[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/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[O2C Demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/overview/
[Permission Set for C4 Diagram Sets]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-c4-diagram-sets/
[Permission Set for the Repository Model]:https://docs.nodinite.com/administration/access-management/roles/features/permission-set-for-the-repository-model/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Tags]:https://docs.nodinite.com/administration/customize/tags/features/what-is-a-tag/
[What is a C4 Diagram Set]:https://docs.nodinite.com/repository-model/c4-diagrams/features/what-is-a-c4-diagram-set/
[What is a Role?]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/