-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Milestone
Description
Bug description:
Reason for deactivating and reactivating a user not showing in user audit
Steps to reproduce:
- Login as an admin (j.campbell)
- Go to teams
- Click on the 3 dot menu for any user
- Click on deactivate
- Select a reason for deactivating the user
- Click on deactivate to deactivate the user
- Observe the status change
- Click on the 3 dot menu again
- Click on reactivate
- Select a reason
- Click on the Reactivate button
- Observe the status change
- Click on the name of the admin that performed the actions (j.campbell) to open the audit page
- Validate system actions for both Deactivated user and Reactivated user by clicking on their respective links
- Observe
Actual result:
- The deactivated user and the reason for deactivating the user does not show on the modal
- The reactivated user and the reason for reactivating the user does not show on the modal
Expected result:
- The deactivated user and the reason for deactivating the user should show on the modal
- The reactivated user and the reason for reactivating the user should show on the modal
Environment:
https://login.farajaland-qa.opencrvs.org/
Version:
v1.5.0
Tech tasks
- Ensure "reason" is written to deactivation and reactivation events properly here.
- When reading user audit log events, in GraphQL schema, ensure one of the result types is one for these event types. Needs to include the reason field. Relevant code here.
- Make sure the reason field is properly rendered in the UI modal
Metadata
Metadata
Assignees
Type
Projects
Status
Blocked

