cisagov / cisagov/XFD

🐛 User denial status does not update in database

Open
#37 0 comments 0 reactions 1 assignee Claimed by @hawkishpolicy View on GitHub
bug dependencies improvement
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.