cisagov / manage.get.gov

A Django-based domain name registrar used by the .gov domain to communicate with an EPP registry
https://get.gov
Other
53 stars 14 forks source link

Issue #2336 - Add portfolio field to admin frontend for domain req and domain info [backup] #2337

Closed CocoByte closed 1 week ago

CocoByte commented 1 week ago

Ticket 2336

Resolves #2336

Changes

Context for reviewers

Code is deployed on getgov-backup

Login as a superuser. Navigate to /admin and verify:

Login as an Analyst. Navigate to /admin and verify:

Setup

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

Ensured code standards are met (Code reviewer)

Validated user-facing changes as a developer

Note: Multiple code reviewers can share the checklists above, a second reviewers should not make a duplicate checklist

As a designer reviewer, I have

Verified that the changes match the design intention

Validated user-facing changes as a designer

Screenshots

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox nl.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox nl.

dave-kennedy-ecs commented 1 week ago

I tested in getgov-ko as both a superuser and as an analyst. As a superuser, everything worked. As an analyst, I was unable to see the model for Portfolios. However, as an analyst, I was still able to see and edit the Porfolios in the change form for both Domain Request and Domain / Domain Information

CocoByte commented 1 week ago

I tested in getgov-ko as both a superuser and as an analyst. As a superuser, everything worked. As an analyst, I was unable to see the model for Portfolios. However, as an analyst, I was still able to see and edit the Porfolios in the change form for both Domain Request and Domain / Domain Information

I was running a few experiments to test -ko. Looks like you caught me in the middle of that. A testament to your thorough testing! I'll re-push the codebase and let you know when it is ready to re-review.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox nl.

dave-kennedy-ecs commented 1 week ago

I was running a few experiments to test -ko. Looks like you caught me in the middle of that. A testament to your thorough testing! I'll re-push the codebase and let you know when it is ready to re-review.

Ok. It is now fixed such that Analyst user cannot edit the Portfolio in the change form for a domain request. However, the analyst can still edit the Portfolio in the change form for a domain.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox nl.

github-actions[bot] commented 1 week ago

🥳 Successfully deployed to developer sandbox nl.