Permissions #
Each Device Manager module exposes specific roles to actions possible via the API.
These roles can then be composed into profiles to define a user's permissions.
Devices permissions #
These roles give access to the APIs concerning the devices, especially actions on the device-manager/devices and device-manager/models controllers.
Roles are defined hierarchically, permissions from previous roles are included in the following role:
devices.reader: allows to list the devices and their measures as well as the models of devices and measuresdevices.configuration: allows to configure device metadata (replaceMetadata,update)devices.assetAssociation: allows to associate and dissociate devices and assets (linkAsset,unlinkAsset)devices.creation: allows to create, update, and delete devices (create,upsert,attachEngine,detachEngine)devices.admin: allows creating, modifying, deleting and linking devices as well as creating/deleting device templatesdevices.platform-admin: allows to assign devices to an engine
The devices.reader, devices.configuration, devices.assetAssociation, devices.creation, and devices.admin roles are for engine users while the devices.platform-admin role is for IoT platform administrators.
Assets permissions #
These roles give access to the APIs concerning the assets, especially actions on the device-manager/assets and device-manager/models controllers.
Roles are defined hierarchically, permissions from previous roles are included in the following role:
assets.reader: allows to list the assets and their measures as well as the models of assets and measuresassets.configuration: allows to configure asset metadataassets.creation: allows to create, update, and delete assets (create,upsert,delete)assets.admin: allows to create, modify and delete assets as well as create/delete asset templates
These roles are intended for users of a tenant.
Groups permissions #
These roles give access to the APIs concerning groups, especially actions on the device-manager/groups and device-manager/models controllers.
Roles are defined hierarchically, permissions from previous roles are included in the following role:
groups.reader: allows to list groups and their modelsgroups.admin: allows creating, modifying, and deleting groups, as well as creating/deleting group templates
These roles are intended for users of a tenant.
Permission measures #
These roles give access to the APIs concerning the measurements, especially actions on the device-manager/models controller.
Roles are defined hierarchically, permissions from previous roles are included in the following role:
measures.reader: allows to list the measurement modelsmeasures.admin: used to create, modify and delete measurement templates
These roles are intended for users of a tenant.
Payloads permissions #
These roles give access to the data ingestion APIs through the device-manager/payloads and device-manager/decoders controllers.
payloads.all: allows to ingest raw data on all Decodersdecoders.admin: allows to list available Decoders