OperatePermissionV2 操作权限控制
1. 结构声明
- TS Declaration
- JSON Schema
class OperatePermissionV2 extends BaseNode {
name: 'approve' | 'reject' | 'reassign' | 'revert' | 'submit' | 'withdraw' | 'addSign';
operationEnabled: boolean;
displayText: string;
commentRequired: boolean;
moveTo?: 'start' | 'nextNode' | 'end';
}
{
"type": "object",
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"name": {
"type": "string",
"enum": [
"approve",
"reject",
"reassign",
"revert",
"submit",
"withdraw",
"addSign"
]
},
"operationEnabled": {
"type": "boolean"
},
"displayText": {
"type": "string"
},
"commentRequired": {
"type": "boolean"
},
"moveTo": {
"type": "string",
"enum": [
"start",
"nextNode",
"end"
]
}
},
"required": [
"name",
"operationEnabled",
"displayText",
"commentRequired"
],
"additionalProperties": false
}