Assign a role to the specified deviceId
. Devices without an assigned role
are unable to sync, except the project creator who can do anything. Only
the project creator can assign their own role. Will throw if the device's
role cannot assign the role by consulting roleAssignment
.
Get roles of all devices in the project. For your own device, if you have not yet synced your own role record, the "no role" capabilties is returned. The project creator will have the creator role unless a different one has been assigned.
Map of deviceId to Role
Get the role for device deviceId
.
public key of this device