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
55 stars 17 forks source link

Add notification so Analysts know when they cannot change request status from "Approved" #1768

Open gabydisarli opened 5 months ago

gabydisarli commented 5 months ago

Issue description

In DjA we know there are certain statuses that analysts can change a request to depending on what status the request is currently in. If a request gets moved to approved, a domain information object gets created. If an analyst moves this request from approved > to in review, etc. then we will now delete the domain information object that was created so that there's no errors if the analyst then tries to move it back to approved. If however, a request gets moved to approved, and then a domain manager adds name servers, it (the associated domain) is now in Ready state. Once in Ready status, an analyst will not be allowed to change that request back to anything other than approved. Let's add a notification telling analysts that the request cannot have its status changed because the associated domain is in Ready.

Acceptance criteria

Additional context

This work came from a suggestion Rachid made in https://github.com/cisagov/manage.get.gov/pull/1718

Slack discussion

Links to other issues

Relates to: #1674

gabydisarli commented 5 months ago

@rachidatecs FYI 👍

abroddrick commented 4 months ago

I think this epic should be for analyst efficiency @PaulKuykendall & @vickyszuchin

vickyszuchin commented 4 months ago

I'm going to mark it as "Future: Analyst experience" for now while it is in "New". Product can decide if they want it in "Analyst efficiency" when the ticket is triage. I will move it up on the "New" queue so that it can be looked at earlier. cc: @abroddrick