mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Add UserDomainRole table and helpers
This commit is contained in:
parent
22eb49c004
commit
49b4f078e8
9 changed files with 211 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue