py specification fix
This commit is contained in:
parent
9d07bc6e15
commit
546940e885
Binary file not shown.
@ -1,5 +1,5 @@
|
||||
def specification(req_spec):
|
||||
req_spec.add_title("Project And Teamorganisation Tool (PATT)")
|
||||
req_spec.add_title("Project and Teamorganisation Tool (PaTT)")
|
||||
|
||||
#
|
||||
# Section
|
||||
@ -90,8 +90,8 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=38,
|
||||
heading="threshold_very_soon",
|
||||
description="The user_profile object shall be able to hold the Infomation threshold_very_soon with the following values: 1 day, 2 days, 3 days, 4 days, 5 days, 7 days, 9 days, 12 days",
|
||||
reason="Information for the sorting criteria warning_group",
|
||||
description="The {\\tt user\_profile} object shall be able to hold the Infomation {\\tt threshold\_very\_soon} with the following values: 1 day, 2 days, 3 days, 4 days, 5 days, 7 days, 9 days, 12 days",
|
||||
reason="Information for the sorting criteria {\\tt warning\_group}",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -100,8 +100,8 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=39,
|
||||
heading="threshold_soon",
|
||||
description="The user object shall be able to hold the Infomation threshold_soon with the following values: 1 day, 2 days, 3 days, 5 days, 7 days, 10 days, 14 days, 21 days",
|
||||
reason="Information for the sorting criteria warning_group",
|
||||
description="The user object shall be able to hold the Infomation {\\tt threshold\_soon} with the following values: 1 day, 2 days, 3 days, 5 days, 7 days, 10 days, 14 days, 21 days",
|
||||
reason="Information for the sorting criteria {\\tt warning\_group}",
|
||||
)
|
||||
#
|
||||
# Section
|
||||
@ -149,7 +149,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=9,
|
||||
heading="Projectrole Leader",
|
||||
description="A project shall have the projectrole role_leader",
|
||||
description="A project shall have the projectrole {\\tt role\_leader}",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -158,7 +158,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=12,
|
||||
heading="Projectrole Member",
|
||||
description="A project shall have the projectrole role_member",
|
||||
description="A project shall have the projectrole {\\tt role\_member}",
|
||||
reason="Default value for Task generation",
|
||||
)
|
||||
|
||||
@ -168,7 +168,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=33,
|
||||
heading="Projectrole Visitor",
|
||||
description="A project shall have the projectrole role_visitor",
|
||||
description="A project shall have the projectrole {\\tt role\_visitor}",
|
||||
)
|
||||
#
|
||||
# Section
|
||||
@ -262,7 +262,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=31,
|
||||
heading="assigned_user",
|
||||
description="A task shall have one assigned_user. The assigned_user needs to have a role in the related project.",
|
||||
description="A task shall have one {\\tt assigned\_user}. The {\\tt assigned\_user} needs to have a role in the related project.",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -298,7 +298,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=24,
|
||||
heading="limited_modify permission",
|
||||
description="If the user has limited_modify permission, the fields progress, description, comment shall be fully editable and the filed state shall be editable, if the state is one of \"open, closed\", and the targetstates shall be limited to \"open, closed\".",
|
||||
description="If the user has {\\tt limited\_modify} permission, the fields progress, description, comment shall be fully editable and the filed state shall be editable, if the state is one of \"open, closed\", and the targetstates shall be limited to \"open, closed\".",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -307,7 +307,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=23,
|
||||
heading="add_comment permission",
|
||||
description="The user shall be able to add a comment, if add_comment permissions are given.",
|
||||
description="The user shall be able to add a comment, if {\\tt add\_comment} permissions are given.",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -334,7 +334,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=29,
|
||||
heading="modify_comment permission",
|
||||
description="The task field comment shall be editable, if the user has modify_comment permission.",
|
||||
description="The task field comment shall be editable, if the user has {\\tt modify\_comment} permission.",
|
||||
)
|
||||
#
|
||||
# Section
|
||||
@ -351,7 +351,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=34,
|
||||
heading="read permissions",
|
||||
description="A user shall have read permission, if he is a superuser or (user is the assigned_user and the current task state is one of \"open, closed\") or (has a role in the related project and is a staffuser).",
|
||||
description="A user shall have read permission, if he is a superuser or (user is the {\\tt assigned\_user} and the current task state is one of \"open, closed\") or (has a role in the related project and is a staffuser).",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -360,16 +360,15 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=35,
|
||||
heading="limited_modify permission",
|
||||
description="A user shall have limited_modify permission, if he is the assigned_user and is a staffuser and the current task state is one of \"open, closed\".",
|
||||
description="A user shall have {\\tt limited\_modify} permission, if he is the {\\tt assigned\_user} and is a staffuser and the current task state is one of \"open, closed\".",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
req_spec.add(
|
||||
parent=sec_uuid,
|
||||
itemtype="REQ",
|
||||
id=22,
|
||||
heading="modify permission",
|
||||
description="A user shall have modify permission, if he is a superuser or (has the has the role role_leader in the related project and is a staffuser).",
|
||||
description="A user shall have modify permission, if he is a superuser or (has the has the role {\\tt role\_leader} in the related project and is a staffuser).",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -378,7 +377,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=30,
|
||||
heading="add_comment permission",
|
||||
description="A user shall have add_comment permission, if he is a superuser or (has one of the roles role_leader, role_member in the related project and is a staffuser and the current task state is one of \"open, closed\").",
|
||||
description="A user shall have {\\tt add\_comment} permission, if he is a superuser or (has one of the roles {\\tt role\_leader}, {\\tt role\_member} in the related project and is a staffuser and the current task state is one of \"open, closed\").",
|
||||
)
|
||||
|
||||
# Requirement
|
||||
@ -396,7 +395,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=37,
|
||||
heading="modify_comment permission",
|
||||
description="A user shall have modify_comment permission, if he is a superuser or (has the has the role role_leader in the related project and is a staffuser).",
|
||||
description="A user shall have {\\tt modify\_comment} permission, if he is a superuser or (has the has the role {\\tt role\_leader} in the related project and is a staffuser).",
|
||||
)
|
||||
#
|
||||
# Section
|
||||
@ -423,7 +422,14 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=40,
|
||||
heading="1st sort criteria shall be warning_group",
|
||||
description="The sorting shalll be in the order as the listed warning_groups:\n\\begin{itemize}\n \\item {\\bf overdue}: If the days_before_targetdate = 0\n \\item {\\bf very_soon}: If the days_before_targetdate = assigned_user.threshold_very_soon\n \\item {\\bf soon:} If the days_before_targetdate = assigned_user.threshold_soon\n \\item {\\bf default}: In all other cases\n \\item {\\bf done:} If the task is in one of the following states: \"canceled, closed, finished\" (independent from the other group definitions)\n\\end{itemize}",
|
||||
description="""The sorting shalll be in the order as the listed {\\tt warning\_groups}:
|
||||
\\begin{itemize}
|
||||
\\item {\\bf overdue}: If the {\\tt days\_before\_targetdate} = 0
|
||||
\\item {\\bf very\_soon}: If the {\\tt days\_before\_targetdate} = {\\tt assigned\_user.threshold\_very\_soon}
|
||||
\\item {\\bf soon:} If the {\tt days\_before\_targetdate} = {\\tt assigned\_user.threshold\_soon}
|
||||
\\item {\\bf default}: In all other cases
|
||||
\\item {\\bf done:} If the task is in one of the following states: \"canceled, closed, finished\" (independent from the other group definitions)
|
||||
\\end{itemize}""",
|
||||
reason="Tasklist shall be be sorted in a user friendly order.",
|
||||
)
|
||||
|
||||
@ -443,7 +449,7 @@ def specification(req_spec):
|
||||
itemtype="REQ",
|
||||
id=43,
|
||||
heading="3rd sort criteria shall be days_before_targetdate",
|
||||
description="Lowesr value of days_before_targetdate first.",
|
||||
description="Lowesr value of {\\tt days\_before\_targetdate} first.",
|
||||
reason="Tasklist shall be be sorted in a user friendly order.",
|
||||
)
|
||||
|
||||
@ -482,4 +488,4 @@ def specification(req_spec):
|
||||
id=21,
|
||||
heading="State Types",
|
||||
description="REQ-21",
|
||||
)
|
||||
)
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 1c1e5267a35301cdddb9d4505327991d7d6a00b3
|
||||
Subproject commit f0ad74361104dfae3dec54d1433e7102ab656572
|
@ -1 +1 @@
|
||||
Subproject commit fce227b428c9b4f93f83791e98a282caf83af9b8
|
||||
Subproject commit 6c7917c39b45323de8c909f5cc47c89a13b3c1e3
|
Loading…
x
Reference in New Issue
Block a user