-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#3129 - Domain Renewal Form (Expiring Soon and Expired) - [AD] #3273
Conversation
🥳 Successfully deployed to developer sandbox rh. |
1 similar comment
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
🥳 Successfully deployed to developer sandbox rh. |
1 similar comment
🥳 Successfully deployed to developer sandbox rh. |
Has been addressed per Aditi's comments and commits
…gov/manage.get.gov into rh/3129-domain-renewal-form
🥳 Successfully deployed to developer sandbox rh. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a couple of things that need to be relegated to post-POD work, but great job! Can't believe we've accomplished so much in such a short amount of time.
src/registrar/views/domain.py
Outdated
def can_access_domain_via_portfolio(self, pk): | ||
"""Most views should not allow permission to portfolio users. | ||
If particular views allow permissions, they will need to override | ||
this function.""" | ||
portfolio = self.request.session.get("portfolio") | ||
if self.request.user.has_any_domains_portfolio_permission(portfolio): | ||
if Domain.objects.filter(id=pk).exists(): | ||
domain = Domain.objects.get(id=pk) | ||
if domain.domain_info.portfolio == portfolio: | ||
return True | ||
return False |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more. Looks like this one should also be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve, pending removal of the additional noted method in the view.
Thank you for all of the test cases in the PR notes. This was especially helpful for testing, and Rebecca was really helpful jumping on a call to walk through the PR
… rh/3129-domain-renewal-form
🥳 Successfully deployed to developer sandbox rh. |
1 similar comment
🥳 Successfully deployed to developer sandbox rh. |
… rh/3129-domain-renewal-form
🥳 Successfully deployed to developer sandbox rh. |
Ticket
Resolves #3129
Changes
** Previous PR
Context for reviewers
For domains that are expired and expiring soon, we now have a Renewal form that domain managers can fill out to renew their domains by 1 year.
Setup
EXPIRING DOMAINS in Org Model Mode under the
Hotel California
:EXPIRING DOMAINS in Non Org Mode:
NOTE:
You will need to go into domain, search for domain -> manage domain -> add self as domain manager
If your email is not working, add yourself as an allowed email list on my sandbox
EXPIRED DOMAINS in Org Model Mode under the
Hotel California portfolio
:EXPIRED DOMAINS in In Non Org Mode:
NOTE:
You will need to go into domain, search for domain -> manage domain -> add self as domain manager
If your email is not working, add yourself as an allowed email list on my sandbox
/admin
and turn thedomain renewal
waffle flag on (no org model yet)Renew to maintain access
under the status./admin
and turn on theorganization_feature
flag and run through the same scenarios as above. (The ones I have added should be in theAgency Of The Litterbox Association
portfolio, and you will probably need to add yourself as a domain manager to play around with it)Note: The only difference between the org model and non org model view is that the org model view has breadcrumbs on top, but the non org model view does. The form should otherwise be the same.
Code Review Verification Steps
As the original developer, I have
Satisfied acceptance criteria and met development standards
Ensured code standards are met (Original Developer)
Validated user-facing changes (if applicable)
As a code reviewer, I have
Reviewed, tested, and left feedback about the changes
Validated user-facing changes as a developer
Note: Multiple code reviewers can share the checklists above, a second reviewer should not make a duplicate checklist. All checks should be checked before approving, even those labeled N/A.
As a designer reviewer, I have
Verified that the changes match the design intention
Validated user-facing changes as a designer
References
Screenshots