Skip to main content
This page lives in the Users section and is also referenced from Deployment. If you arrived from there, your sidebar has switched to Users.

Permission Reference

This page is the source of truth for what each built-in role can do, and the complete vocabulary of (action, subject) pairs used in the CDT permission system.

Default role permissions

Each cell shows whether the role grants the action on the subject. means no permission.

Read access

SubjectViewerUserAdmin
Buildingreadreadread
Sitereadreadread
Infrastructurereadreadread
Filereadreadread
Sensorreadreadread
SensorTypereadreadread
Commentreadreadread
Userreadreadread
Rolereadreadread
Organizationreadreadread

Create access

SubjectViewerUserAdmin
Buildingcreatecreate
Sitecreatecreate
Infrastructurecreatecreate
Filecreatecreate
Sensorcreatecreate
SensorTypecreatecreate
Commentcreatecreate
Usercreate
Organizationcreatecreate

Update access

SubjectViewerUserAdmin
Buildingupdateupdate
Siteupdateupdate
Infrastructureupdateupdate
Fileupdateupdate
Sensorupdateupdate
SensorTypeupdateupdate
Commentupdateupdate
Userupdateupdate
Roleupdate
Organizationupdateupdate

Delete access

SubjectViewerUserAdmin
Buildingdeletedelete
Sitedeletedelete
Infrastructuredeletedelete
Filedeletedelete
Sensordeletedelete
SensorTypedeletedelete
Commentdeletedelete
Userdelete
Organizationdelete

Action vocabulary

CDT uses a fixed set of action verbs:

ActionMeaning
readRetrieve a record or list records.
createCreate a new record.
updateModify an existing record.
deleteRemove a record.
manageAll of the above. Useful as a shorthand in custom roles.

Subject vocabulary

Subjects map directly to Prisma models — see Architecture → Data Model for the full schema.

SubjectDescription
BuildingA managed asset on the map.
SiteA geographic grouping of buildings.
InfrastructureA non-building asset (utility line, road, etc.).
FileAn uploaded binary plus metadata.
SensorA configured IoT sensor instance.
SensorTypeA reusable sensor category (temperature, occupancy, etc.).
CommentA threaded annotation on any other entity.
UserA member of the organization.
RoleThe role assigned to a user.
OrganizationThe tenant itself.

Cross-resource dependencies

Some actions implicitly require permissions on a parent resource. The most common:

  • Uploading a File requires read on the parent Building or Site.
  • Adding a Comment requires read on the entity being commented on.
  • Inviting a User requires create: User and at least read: Role to assign them a role.

If an admin reports unexpected 403 errors, these dependencies are the most likely cause.