izanami
izanami copied to clipboard
Password protect delete operation
Description
When a user attempts to delete any of the following entities:
- [ ] Tenants
- [ ] Projects
- [ ] Keys
- [ ] Webhooks
A confirmation pop-up will be displayed. In this pop-up, the user must re-enter their password in order to confirm the deletion. The pop-up will contain not only
- A warning message confirming the deletion action with buttons for for "Confirm" and "Cancel":
But also
- A password input field where the user will re-enter their current password :
Requirements:
- Password Prompt & validation:
- If the password is incorrect, display an error message and prevent deletion.
- If the password is correct, proceed with the deletion.
- The password should be validated against the currently logged-in user’s password.
- UI/UX Considerations:
- Clear messaging in the prompt (e.g., “Please enter your password to confirm deletion”).