Update manifest structure (#17547)
Move all sync entities in an `entities` key. Rename functions to
logicFunctions
```json
{
application: {
...
},
entities: {
objects: [],
logicFunctions: [],
...
}
}
```
This commit is contained in:
+3
-3
@@ -98,10 +98,10 @@ export class WorkflowExecutionContextService {
|
||||
|
||||
// Use the application's role if set, otherwise fall back to admin role
|
||||
// In the future we should probably assign the Admin role to the Standard Application
|
||||
let roleId = application.defaultLogicFunctionRoleId;
|
||||
let roleId = application.defaultRoleId;
|
||||
|
||||
if (!isDefined(roleId)) {
|
||||
// Fallback: Look up admin role for existing workspaces without defaultLogicFunctionRoleId
|
||||
// Fallback: Look up admin role for existing workspaces without defaultRoleId
|
||||
const adminRole = await this.roleService.getRoleByUniversalIdentifier({
|
||||
universalIdentifier: ADMIN_ROLE.standardId,
|
||||
workspaceId,
|
||||
@@ -118,7 +118,7 @@ export class WorkflowExecutionContextService {
|
||||
workspace,
|
||||
application: {
|
||||
...application,
|
||||
defaultLogicFunctionRoleId: roleId,
|
||||
defaultRoleId: roleId,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user