upiq / uu.task

Task management add-on for Plone
0 stars 1 forks source link

Define reuse policy #8

Open aclark4life opened 9 years ago

aclark4life commented 9 years ago

We intend uu.task to be reusable by other add-on developers. What features do we want to include for add-on developers? Relevant comment from @seanupton:

We cannot guarantee that all other types in other add-ons extending behavior are containerish
(those that are not should not support subtasks). It may also be the case that some other types 
that are like tasks using the behavior won't want sub-task support (e.g. make this opt-in for the 
behaviors story).
seanupton commented 9 years ago

@aclark4life here's my first take, may not be complete...

How other add-ons can extend uu.task

Use behaviors

Assigning principals (hooks/vocabulary)

seanupton commented 9 years ago

@aclark4life not yet a requirement, but when we get to making assigning principals pluggable:

Workgroup members:
- "UPIQ Using Antibiotics Project Wisely" (project) members
-- "Alpha Clinic" (team) members
--- "Alpha Clinic North" (workspace) members
Workspace managers:
- "UPIQ Using Antibiotics Project Wisely" (project) managers
-- "Alpha Clinic" (team) managers
--- "Alpha Clinic North" (workspace) managers

Note: I do not expect uu.task to provide this sort of vocabulary, but rather just have hooks to allow for an override (of default collective.task/uu.task vocab) by other packages. These titles are simply something that front for PAS groups that should work with the way collective.task already does user/group selection with master-selection AFAICT.