Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 319397

Summary: [api] let the connector be able to define task ownership definition
Product: z_Archived Reporter: Pawel Niewiadomski <11110000b>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Keywords: contributed, noteworthy
Version: unspecified   
Target Milestone: 3.5   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 316188    
Attachments:
Description Flags
version-1
steffen.pingel: iplog+
mylyn/context/zip none

Description Pawel Niewiadomski CLA 2010-07-09 10:18:36 EDT
Build Identifier: 

Currently task ownership is fixed - TaskRepositoryManager.isOwnedByUser will return true only if the user using repository is the same as owner of the task. In most cases that's true.

Ownership in case of Crucible is something bigger - we treat reviewers as owners too because they are responsible for completing the task.

So I propose to extend ownership definition and make it connector dependent.

This will allow us to properly handle things like due dates for Crucible.

Reproducible: Always
Comment 1 Pawel Niewiadomski CLA 2010-07-09 10:26:59 EDT
Created attachment 173866 [details]
version-1
Comment 2 Steffen Pingel CLA 2010-07-09 12:23:09 EDT
Makes sense. Thanks for the patch. I'll try to review it in the next couple of days.
Comment 3 Steffen Pingel CLA 2010-07-14 13:08:37 EDT
Great patch! I have applied it to head.
Comment 4 Steffen Pingel CLA 2010-07-14 13:08:40 EDT
Created attachment 174317 [details]
mylyn/context/zip