mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-31 01:33:56 +02:00
Merge remote-tracking branch 'origin/main' into rjm/787-org-short-names
This commit is contained in:
commit
03b7ff64f8
19 changed files with 438 additions and 110 deletions
|
@ -612,7 +612,7 @@ class DomainApplication(TimeStampedModel):
|
|||
# create the permission for the user
|
||||
UserDomainRole = apps.get_model("registrar.UserDomainRole")
|
||||
UserDomainRole.objects.get_or_create(
|
||||
user=self.creator, domain=created_domain, role=UserDomainRole.Roles.ADMIN
|
||||
user=self.creator, domain=created_domain, role=UserDomainRole.Roles.MANAGER
|
||||
)
|
||||
|
||||
self._send_status_update_email(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue