flexion / ef-cms

An Electronic Filing / Case Management System.
23 stars 10 forks source link

Prevent the use of Deploying Color for real Users #10368

Closed mmarcotte closed 4 months ago

mmarcotte commented 6 months ago

As a Systems Administrator, so that I can ensure humans don't inadvertently perform work on the passive/deploying color, I need their access to be restricted. As a Systems Administrator, so that I can ensure test users can perform smoketests on the passive/deploying color, I need their access to be available.

We've recently found that it's possible for a User's browser to become stale and have the wrong color loaded. When they click login, they call the wrong color's login API and if authenticated can begin performing work on the wrong/inactive/passive color. This becomes especially problematic during a migration deployment. It's rare that this would happen in production, but we need to make this impossible.

Pre-Conditions

Acceptance Criteria

Notes

Tasks

Test Cases

Story Definition of Ready (updated on 12/23/22)

The following criteria must be met in order for the user story to be picked up by the Flexion development team. The user story must:

Process: Flexion developers and designers will test if the story meets acceptance criteria and test cases in Flexion dev and staging environments (“standard testing”). If additional acceptance criteria or testing scenarios are discovered while the story is in progress, a new story should be created, added to the backlog and prioritized by the product owner.

Definition of Done (Updated 5-19-22)

Product Owner

UX

Engineering

katiecissell commented 6 months ago

Pre-refinement questions:

ttlenard commented 6 months ago

Test Cases

1) DAWSON users attempt to log in during a deployment, depending on the user type, User experience varies.

Expected Results:

2) DAWSON deployment completes; Real user that was on the formerly current color get's logged out of DAWSON.

Expected Results:

3) DAWSON deployment completes; Test user that was on the deploying color continues to be able to work as if no deployment occurred.

Expected results:

akuny commented 5 months ago

Options explored:

En-8 commented 5 months ago

We ultimately pursued option 3 mentioned previously. With the way we implemented it, however, the behavior doesn't precisely align with the test cases. Here's the expected behavior with how we're currently achieving this:

@ttlenard , let us know if we need to discuss any of this.

swongCO commented 5 months ago

UX feedback The modal looks good. There should be more space above the button. This is what I'm seeing:

Screenshot 2024-06-11 at 11.15.56 AM.png

It should look more like this:

single CTA.png
En-8 commented 5 months ago

@swongCO Good catch! We were tripped up since it only looked like that in Test. Believe we've got this resolved now in Test, here's a screenshot of the modal now:

Screenshot 2024-06-12 at 11.40.14 AM.png