Enumeration
Permission
public enum Permission: String, Codable
A permission is a specific action that an authenticated account is allowed to do within a specific project or organization.
Functions relevant for Member
s are implemented on the Disruptive
struct:
Permissions for the four different roles:
Project.User:
-
emulator.read
-
device.read
-
dataconnector.read
-
serviceaccount.key.read
-
sensor.read
-
serviceaccount.read
-
membership.read
-
project.read
Project.Developer:
-
emulator.delete
-
dataconnector.update
-
serviceaccount.read
-
dataconnector.create
-
project.read
-
dataconnector.delete
-
dataconnector.read
-
device.read
-
sensor.read
-
device.update
-
emulator.read
-
emulator.create
-
emulator.update
-
sensor.update
-
membership.read
-
serviceaccount.key.read
Project.Admin:
-
serviceaccount.key.create
-
project.delete
-
dataconnector.create
-
membership.read
-
emulator.create
-
device.read
-
serviceaccount.update
-
sensor.read
-
serviceaccount.read
-
emulator.update
-
membership.create
-
project.update
-
project.read
-
device.transfer
-
emulator.delete
-
serviceaccount.delete
-
dataconnector.update
-
dataconnector.delete
-
dataconnector.read
-
serviceaccount.key.read
-
emulator.read
-
membership.delete
-
serviceaccount.key.delete
-
serviceaccount.create
-
sensor.update
-
device.update
-
membership.update
Organization.Admin:
-
device.update
-
membership.read
-
serviceaccount.key.create
-
serviceaccount.delete
-
serviceaccount.key.read
-
membership.create
-
dataconnector.create
-
project.delete
-
device.transfer
-
serviceaccount.key.delete
-
sensor.update
-
membership.update
-
project.read
-
dataconnector.delete
-
device.read
-
dataconnector.read
-
serviceaccount.read
-
emulator.read
-
emulator.create
-
emulator.delete
-
sensor.read
-
serviceaccount.create
-
emulator.update
-
project.update
-
serviceaccount.update
-
dataconnector.update
-
membership.delete
-
project.create
-
organization.update
-
organization.read
Relationships
Conforms To
Codable
String
Enumeration Cases
dataConnectorCreate
case dataConnectorCreate = "dataconnector.create"
dataConnectorDelete
case dataConnectorDelete = "dataconnector.delete"
dataConnectorRead
case dataConnectorRead = "dataconnector.read"
dataConnectorUpdate
case dataConnectorUpdate = "dataconnector.update"
deviceRead
case deviceRead = "device.read"
deviceTransfer
case deviceTransfer = "device.transfer"
deviceUpdate
case deviceUpdate = "device.update"
emulatorCreate
case emulatorCreate = "emulator.create"
emulatorDelete
case emulatorDelete = "emulator.delete"
emulatorRead
case emulatorRead = "emulator.read"
emulatorUpdate
case emulatorUpdate = "emulator.update"
membershipCreate
case membershipCreate = "membership.create"
membershipDelete
case membershipDelete = "membership.delete"
membershipRead
case membershipRead = "membership.read"
membershipUpdate
case membershipUpdate = "membership.update"
organizationRead
case organizationRead = "organization.read"
organizationUpdate
case organizationUpdate = "organization.update"
projectCreate
case projectCreate = "project.create"
projectDelete
case projectDelete = "project.delete"
projectRead
case projectRead = "project.read"
projectUpdate
case projectUpdate = "project.update"
serviceAccountCreate
case serviceAccountCreate = "serviceaccount.create"
serviceAccountDelete
case serviceAccountDelete = "serviceaccount.delete"
serviceAccountKeyCreate
case serviceAccountKeyCreate = "serviceaccount.key.create"
serviceAccountKeyDelete
case serviceAccountKeyDelete = "serviceaccount.key.delete"
serviceAccountKeyRead
case serviceAccountKeyRead = "serviceaccount.key.read"
serviceAccountRead
case serviceAccountRead = "serviceaccount.read"
serviceAccountUpdate
case serviceAccountUpdate = "serviceaccount.update"