🐛 User denial status does not update in database
- Dominant language
- Python
- Stars
- 30
- Forks
- 22
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 22
Description
# 🐛 Summary #
When a region admin denies access to a user, the user is not being removed, or marked as "Denied" in the database. This behavior is inconsistent with the intended functionality.
## To reproduce ##
1. Login as a Regional Admin
2. Access the Regional Admin Dashboard
3. Deny a Pending User request
4. Review database that any record of that User account has been removed or marked as "Denied".
## Expected behavior ##
- User Removal/Marked on Denial: When a region admin denies access for a user, the user’s record must be removed from the database as an active User. Verify that the user’s data is no longer accessible as an active account.
- Database Consistency: Ensure that the database remains consistent by invoking a denied user.
- Testing and Validation: Conduct automated tests scenarios where region admins deny access for users. Confirm that the denied users are addressed appropriately in the database.
Contributor guide
Assessment
This issue has not been assessed yet.