You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modified the rolodex code to make sure we capture information about the origin of email addresses if they are added by the secretariat, to ensure GPR compliance.
field=models.CharField(help_text=b"The origin of the address: the user's email address, or 'author: DRAFTNAME' if a draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
19
+
),
20
+
migrations.AlterField(
21
+
model_name='historicalemail',
22
+
name='origin',
23
+
field=models.CharField(help_text=b"The origin of the address: the user's email address, or 'author: DRAFTNAME' if a draft, or 'role: GROUP/ROLE' if a role.", max_length=150),
Copy file name to clipboardExpand all lines: ietf/person/models.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,7 @@ class Email(models.Model):
258
258
person=ForeignKey(Person, null=True)
259
259
time=models.DateTimeField(auto_now_add=True)
260
260
primary=models.BooleanField(default=False)
261
-
origin=models.CharField(max_length=150, default='', editable=False) # User.username or Document.name
261
+
origin=models.CharField(max_length=150, blank=False, help_text="The origin of the address: the user's email address, or 'author: DRAFTNAME' if a draft, or 'role: GROUP/ROLE' if a role.") # User.username or Document.name
262
262
active=models.BooleanField(default=True) # Old email addresses are *not* purged, as history
validate_email=EmailValidator("Please provide the origin of the new email: A valid user email if provided by email, or 'author: doc' or 'role: role spec'.")
0 commit comments