groupManagerBlock

This block allows to manage group membership, add and remove users from the group.

1. Properties

Block PropertyDefinitionExample InputStatus

tag

Unique name for the logic block.

groupManagerBlock

permissions

Which entity has rights to interact at this part of the workflow.

NoRole

defaultActive

Shows whether this block is active at this time and whether it needs to be shown.

Checked or unchecked.

On errors

Called if the system error has occurs in the Block

  • No action

  • Retry

  • Go to step

  • Go to tag

Stop Propagation

End processing here, don't pass control to the next block.

Checked or unchecked.

Can Invite

specifies who can create invites

ยท Group Owner โ€“ only the creator of the group

ยท All โ€“ all members of the group

Can Delete

specifies who can remove users from the group

ยท Group Owner โ€“ only the creator of the group

. All โ€“ all members of the group

2. Usage

2.1 List of the groups in which the user is included:

2.2 List of the users included in the group

2.3 Inviting users to groups

First step is to select the role to invite the user as shown below:

Next step is to copy and send the unique invite or the link to the invite.

2.4 Removing users from groups

API Parameters

GET /policies/{policyId}/blocks/{uuid}

Path Parameters

NameTypeDescription

policyId*

String

Policy ID

uuid*

String

Block UUID

{
  "data": [
    {
      "id": "6b3efd88-037c-4335-a4d1-02776e23973c",
      "role": "VVB(manager)",
      "groupName": "VVBs",
      "groupLabel": "vvb_group1",
      "type": "Owner",
      "groupRelationshipType": "Multiple",
      "groupAccessType": "Private",
      "canInvite": true,
      "canDelete": true,
      "roles": [
        "VVB"
      ],
      "data": [
        {
          "did": "did:hedera:testnet:HdSCbrXJjjfvzymnnzzybNVWQGGGY48p6JGo6Ao5UHnT_0.0.3075949",
          "username": "Virtual User 1",
          "role": "VVB(manager)",
          "type": "Owner",
          "current": true
        },
        {
          "did": "did:hedera:testnet:CJotqpGfK9zVqDHgjtkHg5EPvkTShQVc3hZjojw8St3N_0.0.3075949",
          "username": "Virtual User 2",
          "role": "VVB",
          "type": "Member",
          "current": false
        }
      ]
    }
  ]
}

POST /policies/{policyId}/blocks/{uuid}

Path Parameters

NameTypeDescription

policyId*

String

Policy ID

uuid*

String

Block UUID

Request Body

NameTypeDescription

action*

String

invite/delete

role*

String

role

group*

String

group

user*

String

User DID

message*

String

removing message

Last updated