run_pyl
This commit is contained in:
parent
ce3ce4fb45
commit
75910bcb8d
|
@ -52,6 +52,13 @@ permissions:
|
||||||
allowed_permissions: [create, read, update, delete]
|
allowed_permissions: [create, read, update, delete]
|
||||||
uri: /tasks/*
|
uri: /tasks/*
|
||||||
|
|
||||||
|
# Everybody can start all intstances
|
||||||
|
create-test-instances:
|
||||||
|
groups: [ everybody ]
|
||||||
|
users: [ ]
|
||||||
|
allowed_permissions: [ create ]
|
||||||
|
uri: /process-instances/*
|
||||||
|
|
||||||
# Everyone can see everything (all groups, and processes are visible)
|
# Everyone can see everything (all groups, and processes are visible)
|
||||||
read-all-process-groups:
|
read-all-process-groups:
|
||||||
groups: [ everybody ]
|
groups: [ everybody ]
|
||||||
|
|
|
@ -178,8 +178,9 @@ export default function ProcessInstanceListTable({
|
||||||
useState<string[]>([]);
|
useState<string[]>([]);
|
||||||
const [processInitiatorSelection, setProcessInitiatorSelection] =
|
const [processInitiatorSelection, setProcessInitiatorSelection] =
|
||||||
useState<User | null>(null);
|
useState<User | null>(null);
|
||||||
const [processInitiatorText, setProcessInitiatorText] =
|
const [processInitiatorText, setProcessInitiatorText] = useState<
|
||||||
useState<string | null>(null);
|
string | null
|
||||||
|
>(null);
|
||||||
|
|
||||||
const lastRequestedInitatorSearchTerm = useRef<string>();
|
const lastRequestedInitatorSearchTerm = useRef<string>();
|
||||||
|
|
||||||
|
@ -608,7 +609,6 @@ export default function ProcessInstanceListTable({
|
||||||
queryParamString += `&process_initiator_username=${processInitiatorText}`;
|
queryParamString += `&process_initiator_username=${processInitiatorText}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const reportColumnsBase64 = encodeBase64(JSON.stringify(reportColumns()));
|
const reportColumnsBase64 = encodeBase64(JSON.stringify(reportColumns()));
|
||||||
queryParamString += `&report_columns=${reportColumnsBase64}`;
|
queryParamString += `&report_columns=${reportColumnsBase64}`;
|
||||||
const reportFilterByBase64 = encodeBase64(JSON.stringify(reportFilterBy()));
|
const reportFilterByBase64 = encodeBase64(JSON.stringify(reportFilterBy()));
|
||||||
|
@ -1122,18 +1122,17 @@ export default function ProcessInstanceListTable({
|
||||||
selectedItem={processInitiatorSelection}
|
selectedItem={processInitiatorSelection}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
} else {
|
|
||||||
return (
|
|
||||||
<TextInput
|
|
||||||
id="process-instance-initiator-search"
|
|
||||||
placeholder="Enter username"
|
|
||||||
labelText="Process Initiator"
|
|
||||||
onChange={(event: any) =>
|
|
||||||
setProcessInitiatorText(event.target.value)
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
return (
|
||||||
|
<TextInput
|
||||||
|
id="process-instance-initiator-search"
|
||||||
|
placeholder="Enter username"
|
||||||
|
labelText="Process Initiator"
|
||||||
|
onChange={(event: any) =>
|
||||||
|
setProcessInitiatorText(event.target.value)
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
);
|
||||||
}}
|
}}
|
||||||
</Can>
|
</Can>
|
||||||
</Column>
|
</Column>
|
||||||
|
|
Loading…
Reference in New Issue