# Partial Flow 2.4 Confirm a protected action ## Overview | Aspect | Description | | ---------------------------- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | **Summary** | The user confirms a protected action by entering their PIN. If they fail too many times, they are locked out of the app. | | **Goal** | Confirming a protected action. | | **Preconditions** | *None* | | **Postconditions** | Depends on the use case. | | **Used by** | | | **Parameters** | Cancelable | | **Possible Results** | | | **Additional Documentation** | *None* | | **Possible errors** | *None* | | **Logical test cases** | | --- ## Flow | # | Description | Next | |---------|---------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------| | **1** | **PRIMARY SCENARIO** | | | **1.1** | **System displays PIN screen** | | | 1.1a | User enters PIN | 1.2 | | 1.1b | User selects Forgot PIN | 2 | | 1.1c | User selects Back | Result: Back | | 1.1d | User selects Cancel (when Cancelable) | Result: Cancel | | 1.1e | User selects Help | Show placeholder 'under construction' | | **1.2** | **System executes partial flow [PF2.8 Validate PIN](PF2.8_ValidatePin.md)** | | | 1.2a | Result: Valid PIN | 1.3 | | 1.2b | Result: Retry | 1.1 | | 1.2c | Result: Back | Back | | **1.3** | **System executes partial flow [PF1.4 Apply update policy](PF1.4_ApplyAppUpdatePolicy.md)** | | | 1.3a | Result: App version is allowed | Result: Confirm | | **2** | **RECOVER FROM FORGOTTEN PIN** | | | **2.1** | **System determines if protected action is PID issuance** | | | 2.1a | Case: Protected action is PID issuance | 2.2 | | 2.1b | Case: Protected action is not PID issuance | 2.3 | | **2.2** | **System displays forgot PIN screen** | | | 2.2a | User selects Delete Wallet | Go to: [UC9.4 Wipe all app data](../use-cases/UC9.4_WipeAllAppData.md) | | 2.2b | User selects Back | Back | | **2.3** | **System displays forgot PIN screen** | | | 2.3a | User selects Delete Wallet | Go to: [UC2.3.2 Recover PIN](../use-cases/UC2.3.2_RecoverPIN.md) | | 2.3b | User selects Back | Back |