mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
feat: add consent form for data processing
This commit is contained in:
@@ -32,6 +32,9 @@ class User(AbstractUser):
|
||||
"""
|
||||
email = models.EmailField(_('email address'), blank=False, null=False)
|
||||
|
||||
#: Have they given consent to collect and store their data?
|
||||
consent_given = models.BooleanField(default=False)
|
||||
|
||||
def has_person(self) -> bool:
|
||||
"""
|
||||
Does this user have a linked :class:`Person` record?
|
||||
|
||||
Reference in New Issue
Block a user