mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
71698: Merge V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3) 71693: MNT-11264 Workflow public API for tasks is returning other users tasks Revert commit 69670: this was not a bug and the previous behaviour was the right one. This will fix failures in TaskWorkflowApiTest git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@73194 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -162,11 +162,6 @@ public class TasksImpl extends WorkflowRestImpl implements Tasks
|
||||
|
||||
String status = propertyWalker.getProperty("status", WhereClauseParser.EQUALS);
|
||||
String assignee = propertyWalker.getProperty("assignee", WhereClauseParser.EQUALS);
|
||||
// MNT-11264 Workflow public API for tasks is returning other users tasks
|
||||
if (assignee == null)
|
||||
{
|
||||
assignee = AuthenticationUtil.getRunAsUser();
|
||||
}
|
||||
String assigneeLike = propertyWalker.getProperty("assignee", WhereClauseParser.MATCHES);
|
||||
String owner = propertyWalker.getProperty("owner", WhereClauseParser.EQUALS);
|
||||
String ownerLike = propertyWalker.getProperty("owner", WhereClauseParser.MATCHES);
|
||||
|
Reference in New Issue
Block a user