Disruptive Documentation

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 Members 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

%285 Permission Permission String String Permission->String Codable Codable Permission->Codable

Conforms To

Codable
String

Enumeration Cases

data​Connector​Create

case dataConnectorCreate     = "dataconnector.create"

data​Connector​Delete

case dataConnectorDelete     = "dataconnector.delete"

data​Connector​Read

case dataConnectorRead       = "dataconnector.read"

data​Connector​Update

case dataConnectorUpdate     = "dataconnector.update"

device​Read

case deviceRead              = "device.read"

device​Transfer

case deviceTransfer          = "device.transfer"

device​Update

case deviceUpdate            = "device.update"

emulator​Create

case emulatorCreate          = "emulator.create"

emulator​Delete

case emulatorDelete          = "emulator.delete"

emulator​Read

case emulatorRead            = "emulator.read"

emulator​Update

case emulatorUpdate          = "emulator.update"

membership​Create

case membershipCreate        = "membership.create"

membership​Delete

case membershipDelete        = "membership.delete"

membership​Read

case membershipRead          = "membership.read"

membership​Update

case membershipUpdate        = "membership.update"

organization​Read

case organizationRead        = "organization.read"

organization​Update

case organizationUpdate      = "organization.update"

project​Create

case projectCreate           = "project.create"

project​Delete

case projectDelete           = "project.delete"

project​Read

case projectRead             = "project.read"

project​Update

case projectUpdate           = "project.update"

service​Account​Create

case serviceAccountCreate    = "serviceaccount.create"

service​Account​Delete

case serviceAccountDelete    = "serviceaccount.delete"

service​Account​Key​Create

case serviceAccountKeyCreate = "serviceaccount.key.create"

service​Account​Key​Delete

case serviceAccountKeyDelete = "serviceaccount.key.delete"

service​Account​Key​Read

case serviceAccountKeyRead   = "serviceaccount.key.read"

service​Account​Read

case serviceAccountRead      = "serviceaccount.read"

service​Account​Update

case serviceAccountUpdate    = "serviceaccount.update"