Update portfolio.py

This commit is contained in:
zandercymatics 2024-12-18 12:32:47 -07:00
parent f19ff3cd66
commit 0e1d07d59b
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -331,7 +331,9 @@ class BasePortfolioMemberForm(forms.Form):
},
)
# Tracks what form elements are required for a given role choice
# Tracks what form elements are required for a given role choice.
# All of the fields included here have "required=False" by default as they are conditionally required.
# see def clean() for more details.
ROLE_REQUIRED_FIELDS = {
UserPortfolioRoleChoices.ORGANIZATION_ADMIN: [
"domain_request_permission_admin",