mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-31 09:43:54 +02:00
Unit tests for transition sets user status to ineligible and deomain and application permissions
This commit is contained in:
parent
c98392baac
commit
96ea396da4
3 changed files with 77 additions and 1 deletions
|
@ -610,7 +610,9 @@ class DomainApplication(TimeStampedModel):
|
|||
"""The applicant is a bad actor, reject with prejudice.
|
||||
|
||||
No email As a side effect, but we block the applicant from editing
|
||||
any existing domains and from submitting new apllications"""
|
||||
any existing domains/applications and from submitting new aplications.
|
||||
We do this by setting an ineligible status on the user, which the
|
||||
permissions classes test against"""
|
||||
|
||||
self.creator.block_user()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue