Add UserDomainRole table and helpers

This commit is contained in:
Neil Martinsen-Burrell 2023-03-06 12:03:29 -06:00
parent 22eb49c004
commit 49b4f078e8
No known key found for this signature in database
GPG key ID: 6A3C818CC10D0184
9 changed files with 211 additions and 7 deletions

View file

@ -276,9 +276,8 @@ class Domain(TimeStampedModel):
help_text="Domain is live in the registry",
)
# TODO: determine the relationship between this field
# and the domain application's `creator` and `submitter`
owners = models.ManyToManyField(
"registrar.User",
help_text="",
)
# ForeignKey on UserDomainRole creates a "permissions" member for
# all of the user-roles that are in place for this domain
# ManyToManyField on User creates a "users" member for all of the
# users who have some role on this domain