Break KO signing into two steps

This commit is contained in:
George Drummond
2019-02-21 15:42:14 -05:00
parent 9af70044ed
commit 46345f9856
9 changed files with 224 additions and 41 deletions

View File

@@ -15,6 +15,8 @@ class TaskOrderError(Exception):
class TaskOrders(object):
INFORMATION_RECORDED_ATTRIBUTES = ["end_date", "loa", "number", "start_date"]
SECTIONS = {
"app_info": [
"portfolio_name",
@@ -120,6 +122,10 @@ class TaskOrders(object):
return True
@classmethod
def is_signed_by_ko(cls, task_order):
return task_order.signer_dod_id is not None
@classmethod
def mission_owner_sections(cls):
section_list = TaskOrders.SECTIONS