Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All business operations entities are structured as follows:

entity:

...

  • UID string:  The unique identifier of the business operation

...

  • SingularName string:  The name of the operation in singular form. This value is useful for displaying in entity properties dialogs.

...

  • PluralName string:  The name of the operation in plural form. This value is useful for displaying in user and role properties dialogs.

...

  • FullName string:  The name of the current operation along with its parent operations (if any). Since many operation names aren't unique, this value is useful for differentiating similar business operations.

...

  • TargetEntity EntityType:   The target entity for a given operation (“devices” in this instance)

...

  • Parent BusinessOperation:  An operation instance indicating the operation from which permissions are inherited. This value will be "null" if there is no parent operation.

...

  • Descendants BusinessOperation[

...

  • ]

...

  • : An array of operation instances that inherit permissions from this operation. This value is "null" if there are no descendant operations.

...

  • Permissions Permission[

...

  • ]

...

  • : The permissions entity associated with this operation.

...

[string] OperationUID: The unique identifier for the operation

...

[Principal] Principal:  Defines to whom the permission is granted (to Administrator, a user, etc.)

  • [string] name: The name associated with the permissions (for example, "Custom Administrators")

  • [bool] isCustom: If true, this is a custom role

  • type: Either "User" or "Role"

  • [int] id: The id of the user or role

...

[boolIsFixed: Indicates if the device permissions are editable by customer or not

...

[boolIsInherited: If true, the device permissions are inherited

...

[bool] IsAllowed: Allows or denies permissions to perform a given operation

...