arsmentis / coldfront

HPC Resource Allocation System
GNU General Public License v3.0
0 stars 0 forks source link

Extend Project to have Attributes #13

Open dmr-x opened 4 years ago

dmr-x commented 4 years ago

Description

Similar to Allocation with AllocationAttribute et al., add attributes to Project. Ideally, reuse code as much as possible from Allocation 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

dmr-x commented 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 commented 4 years ago

dmr-x closed this Mar 4, 2020

I think GitHub did this automatically when I force-pushed the new master. Re-opening.

dmr-x commented 4 years ago

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.

dmr-x commented 4 years ago

Pushed some [WIP] code (everything seen works - just need to build more to consider this chunk complete).

Updated task list.

dmr-x commented 4 years ago

Pushed some more [WIP] code (again, everything seen works - just more needed to consider complete).

Updated task list.