Skip to main content

Grant access

The BPMN block to change permission for invoker to object

Implementation type

Connector

Connector ID

http-connector

Connector inputs

headers

Map

method

POST

payload script example

JSON.stringify({
{
execution_id: "UUID",
stage:"stage text",
is_completed: bool,
payload:{
scope: "read|view|edit",
permission: "allow|deny"
}
});

where

  • execution_id - is the id of the runtime process to define execution context in Camunda
  • stage - is the name of the process step to display in the monitoring table in the Accton admin panel
  • is_completed - is the flag to define the finishing steps of the process for the monitoring table in the Accton admin panel
  • payload - detailed information about things needed to get
  • scope - permission level:
    • read
    • view
    • edit
  • permission - permission type:
    • allow
    • deny

url script

execution.getVariable('domain') + '/api/bp/grant';