Open dmr-x opened 4 years ago
@artlogic: Planning out the implementation gave rise to a needed clarification:
TBD: whether "researchers" is PI-only, managers-only, or all project users.
This is not a blocker for implementation, and generally should be something that can be changed fairly easily.
Where it might get complicated is if, like Allocations themselves, various users are allowed to manage the attribute. If it's a flat/simple permissions structure, then shouldn't be very complicated to change later.
dmr-x closed this Mar 4, 2020
I think GitHub did this automatically when I force-pushed the new master. Re-opening.
Updated task list.
Notably added another clarification task:
- default projectattributetypes?
- come up with a few examples, to discuss defaults
Per our discussion, the subtask is on me.
@artlogic: I've fleshed out some of the task list. You may want to review it for things to cut out. Atm, the TBDs/"nice to have" are listed for informative purposes only, as I don't plan to do them in the near future (due to our timeline).
Additionally, I expect the pushed code to change very little going forward, so feel free to review it.
Pushed some [WIP]
code (everything seen works - just need to build more to consider this chunk complete).
Updated task list.
Pushed some more [WIP] code (again, everything seen works - just more needed to consider complete).
Updated task list.
Description
Similar to
Allocation
withAllocationAttribute
et al., add attributes toProject
. Ideally, reuse code as much as possible fromAllocation
et al.For
Project
attributes, researchers and staff should be able to work with them. TBD: whether "researchers" is PI-only, managers-only, or all project users.Task list
Project
'Yes/No'
,'Active/Inactive'
,'Public/Private'
)null
oruninitialized
/ etc. to be set for pre-existing projects (TBD)~QuerySet
helper function, to get ~null required (not yet defined) attributes in a result tooModelForm
feasibility w/ model properties<OPTION>
listas_view()
; savecore/utils
, 2073e131828639956271e8be1687cbd3bdf132b0, currently cherry-picked)