Details
Description
Purpose: To define the logic for how the proxy "Relationship Status" menu is set. Context for this story is Proxy sub-section. Another story will be created for the same functionality in the Sponsor sub-section.
waiting to test until UIU-200 passes; error messages when trying to set user expiration dates in the past. Also unrelated error on address type
Scenarios:
- Scenario
- Given the proxy relationship Expiration date for Proxy P in the Proxy section of User Details for User A
- When today or in the past
- Then:
- The Relationship status for Proxy P should be set to Inactive
- The Relationship status menu should become uneditable
- A validation message should display reading "Proxy relationship has expired"
- Scenario
- Given the proxy relationship Expiration date for Proxy P in the Proxy section of User Details for User A
- When:
- Changed from today or in the past to a date in the future or null AND
- The user Expiration date for Proxy P is not today or in the past AND
- The user Expiration date for User A is in not today or in the past
- Then:
- The Relationship status for Proxy P should be set to Active
- The Relationship status menu should become editable
- Scenario
- Given the user Expiration date for Proxy P in the user details for Proxy P
- When today or in the past
- Then:
- The Relationship status for Proxy P should be set to Inactive
- The Relationship status menu should become uneditable
- A validation message should display reading "Proxy user record expired"
- Scenario
- Given the user Expiration date for Proxy P in the user details for Proxy P
- When:
- Changed from today or in the past to a date in the future or null AND
- The user Expiration date for User A is not today or in the past AND
- The proxy relationship Expiration date is not today or in the past
- Then:
- The Relationship status for Proxy P should be set to Active
- The Relationship status menu should become editable
- Scenario
- Given the user Expiration date for User A in the user details for User A
- When today or in the past
- Then:
- The Relationship status for Proxy P should be set to Inactive
- The Relationship status menu should become uneditable
- A validation message should display reading "Sponsor user record expired"
- Scenario
- Given the user Expiration date for User A in the user details for User A
- When:
- Changed from today or in the past to a date in the future or null AND
- The user Expiration date for Proxy P is not today or in the past AND
- The proxy Expiration date is not today or in the past
- Then:
- The Relationship status for Proxy P should be set to Active
- The Relationship status menu should become editable
NOTE: Not sure if this is clear from the above scenarios or not. I confirmed with the SIG that, if a proxy relationship is manually set to inactive and then later expires, moving the expiration date into the future should make the relationship active again. There is no need for the system to remember that it had been manually switched to "inactive". We assume that, if you update the expiration date, you want the status to become active again without an additional step. Of course, if either party's user record is inactive, the proxy relationship needs to stay inactive. Let me know if that doesn't make sense!
Wireframes:
https://drive.google.com/drive/folders/0By8ccf5VV4EWeXV6aVZ0Tmc5TGs
TestRail: Results
Attachments
Issue Links
- clones
-
UIU-200 Proxy: Set Relationship Status (Sponsor Sub-Section)
-
- Closed
-
- is blocked by
-
CIRC-79 Validate Proxy Relationship for Loans and Requests
-
- Closed
-
-
MODUSERS-68 align the proxy-for shema with the fields and values used by the UI
-
- Closed
-
- relates to
-
FOLIO-889 Develop a strategy to implement scheduled (cron-like) events
-
- Closed
-
-
UIU-235 User Status Should be Inactive When Expired
-
- Closed
-
-
UIU-199 Assign Proxy v2: Proxy Sub-Section
-
- Closed
-
-
UXPROD-76 "Proxy relationship status" triggered by relationship expiration date (UIU-201 and UIU-200)
-
- Closed
-