diff --git a/atst/forms/data.py b/atst/forms/data.py index 88758792..6a41c647 100644 --- a/atst/forms/data.py +++ b/atst/forms/data.py @@ -104,9 +104,29 @@ COMPLETION_DATE_RANGES = [ ] WORKSPACE_ROLES = [ - ("owner", "Workspace Owner", "Can add, edit, deactivate access to all projects, environments, and members. Can view budget reports. Can start and edit JEDI Cloud requests."), - ("admin", "Administrator", "Can add and edit projects, environments, members, but cannot deactivate. Cannot view budget reports or JEDI Cloud requests."), - ("developer", "Developer", "Can view only the projects and environments they are granted access to. Can also view members associated with each environment."), - ("billing_auditor", "Billing Auditor", "Can view only the projects and environments they are granted access to. Can also view budgets and reports associated with the workspace."), - ("security_auditor", "Security Auditor", "Can view only the projects and environments they are granted access to. Can also view activity logs."), + ( + "owner", + "Workspace Owner", + "Can add, edit, deactivate access to all projects, environments, and members. Can view budget reports. Can start and edit JEDI Cloud requests.", + ), + ( + "admin", + "Administrator", + "Can add and edit projects, environments, members, but cannot deactivate. Cannot view budget reports or JEDI Cloud requests.", + ), + ( + "developer", + "Developer", + "Can view only the projects and environments they are granted access to. Can also view members associated with each environment.", + ), + ( + "billing_auditor", + "Billing Auditor", + "Can view only the projects and environments they are granted access to. Can also view budgets and reports associated with the workspace.", + ), + ( + "security_auditor", + "Security Auditor", + "Can view only the projects and environments they are granted access to. Can also view activity logs.", + ), ] diff --git a/atst/forms/new_member.py b/atst/forms/new_member.py index dc016d25..49834d9f 100644 --- a/atst/forms/new_member.py +++ b/atst/forms/new_member.py @@ -6,7 +6,7 @@ from wtforms.validators import Required, Email, Length from atst.forms.validators import IsNumber from atst.forms.fields import SelectField -from .data import (WORKSPACE_ROLES) +from .data import WORKSPACE_ROLES class NewMemberForm(Form): @@ -16,8 +16,5 @@ class NewMemberForm(Form): email = EmailField("Email Address", validators=[Required(), Email()]) dod_id = StringField("DOD ID", validators=[Required(), Length(min=10), IsNumber()]) workspace_role = SelectField( - "Workspace Role", - choices=WORKSPACE_ROLES, - validators=[Required()], - default='' + "Workspace Role", choices=WORKSPACE_ROLES, validators=[Required()], default="" )