mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-28 13:36:30 +02:00
fix tests + cleanup
This commit is contained in:
parent
d52a44a744
commit
d2149484c9
4 changed files with 17 additions and 24 deletions
|
@ -124,6 +124,7 @@ class BasePortfolioMemberForm(forms.Form):
|
|||
)
|
||||
|
||||
domain_request_permission_admin = forms.ChoiceField(
|
||||
# nosec B308 - required_star is a hardcoded HTML string
|
||||
label=mark_safe(f"Select permission {required_star}"),
|
||||
choices=[
|
||||
(UserPortfolioPermissionChoices.VIEW_ALL_REQUESTS.value, "View all requests"),
|
||||
|
@ -137,6 +138,7 @@ class BasePortfolioMemberForm(forms.Form):
|
|||
)
|
||||
|
||||
member_permission_admin = forms.ChoiceField(
|
||||
# nosec B308 - required_star is a hardcoded HTML string
|
||||
label=mark_safe(f"Select permission {required_star}"),
|
||||
choices=[
|
||||
(UserPortfolioPermissionChoices.VIEW_MEMBERS.value, "View all members"),
|
||||
|
@ -150,6 +152,7 @@ class BasePortfolioMemberForm(forms.Form):
|
|||
)
|
||||
|
||||
domain_request_permission_member = forms.ChoiceField(
|
||||
# nosec B308 - required_star is a hardcoded HTML string
|
||||
label=mark_safe(f"Select permission {required_star}"),
|
||||
choices=[
|
||||
(UserPortfolioPermissionChoices.VIEW_ALL_REQUESTS.value, "View all requests"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue