run formatter
This commit is contained in:
parent
0df7c0f56a
commit
f0de0eddb4
@ -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.",
|
||||
),
|
||||
]
|
||||
|
@ -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=""
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user