- 4 minutes to read

Permission Set for C4 Diagram Sets

Use role-based permissions to control how users interact with C4 Diagram Sets in Nodinite. A C4 Diagram Set holds the Architecture Diagrams for one software system, so the Role decides who can create new sets, who can open a set, and who can change it.

Understanding the Permission Model

The permission set has two scopes. Global permissions apply to every C4 Diagram Set and hold the only Create right. Per-set assignments grant Access or Modify on individual sets.

flowchart LR Role["fa:fa-user-shield Role"] --> Global["fa:fa-globe Global permissions
C4 Diagram Sets row"] Role --> PerSet["fa:fa-sitemap Per-set assignments
C4 Set Permissions"] Role --> Logging["fa:fa-waveform-lines Logging
global"] Global --> GA["fa:fa-lock Access"] Global --> GC["fa:fa-file-plus Create
Create C4 Diagram Sets"] Global --> GM["fa:fa-file-pen Modify"] PerSet --> SA["fa:fa-lock Access"] PerSet --> SM["fa:fa-file-pen Modify"] style Global fill:#2678BD,color:#fff style PerSet fill:#3F827B,color:#fff style GC fill:#E47528,color:#fff

Blue = global permissions, teal = per-set assignments, orange = the Create right, which exists only at global scope.

Permissions in the Set

Permission Global (C4 Diagram Sets row) Per assigned set What it unlocks
Access ✅ Yes ✅ Yes Open and view the set and its diagrams. The set-level value can inherit from the global value.
Create (Create C4 Diagram Sets) ✅ Yes ❌ No Create new C4 Diagram Sets, and Import diagrams: the Import button only appears for users with this right, and the import apply step on the server requires it too. New 7.12 Every new Draft needs it too: Clone as Draft, the next layer, Create Container Draft and Create Component Draft in the designer, and the assistance panel's Create Draft to apply.
Modify ✅ Yes ✅ Yes Change existing sets and their diagrams, and New 7.12 Delete, Restore, and Permanently Delete sets and diagrams, live or deleted. C4 is user content, so no Administrator Role is needed (see Two delete models).
Logging (own row, Access column) ✅ Yes ❌ No Use grouped-log dynamic diagram entry points (Inspect Grouped Log Views as Runtime Diagrams).

The values follow the standard Nodinite model: Inherited, Allow, or Deny, where a Deny always wins (see Permission Set for the Repository Model).

Where to Find the Create Right

Create is a global right only, because a set that doesn't exist yet can't be assigned to a Role:

  1. Open the Role in the Role editor (Add or manage Role).
  2. Select the C4 Set Permissions (x) tab and find Global permissions.
  3. In the C4 Diagram Sets row, set the Create column, next to Access and Modify. The Logging right is the row below it, with only an Access column.

Role editor C4 Set Permissions tab with Global permissions for C4 Diagram Sets and Logging, and the assigned set Contoso Order to Cash (7.12)
The C4 Set Permissions (1) tab of the Contoso: Operations Role: Access, Create, and Modify on the C4 Diagram Sets row and Access on the Logging row under Global permissions; below, the assigned sets with Access and Modify, and Edit to change them.

The per-set list, and the assignment modal behind Edit, has only Access and Modify. Looking for Create there is the most common reason administrators believe the right is missing.

For API and audit work, the rights use these permission object types:

Right Permission object type
Access C4 Diagram Sets 550
Create C4 Diagram Sets 5600
Modify C4 Diagram Sets 5601
  • Grant Access to architecture consumers.
  • Grant Modify to the architects and maintainers who keep the diagrams current.
  • Grant Create only to the few Roles that set up new Diagram Sets or Import diagrams.
  • Grant Logging to users who need grouped-log dynamic diagram capabilities.
  • Review assignments regularly so only required Roles have Create and Logging enabled.

Role Assignments

In the Role editor, administrators use C4 Set Permissions (x) to manage set assignments and permission values:

  • The value x shows the number of assigned C4 Diagram Sets.
  • Use the Edit flow to add or remove C4 Diagram Sets from the Role, and set Access and Modify for each assigned set.
  • Configure Create and Logging at global scope.

The DefaultRolesInViews System Parameter pre-selects Roles on every new C4 Diagram Set New 7.6; you still set their Access and Modify values here.

Logging and Grouped-Log Dynamic Diagrams

When Logging is not allowed for a user's Role, grouped-log dynamic diagram entry points are hidden for that user. Grant Logging only to Roles that should use this capability.

Next Steps