# 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 determines wallet status** | | | 1.3a | Case: Wallet is active | 1.4 | | 1.3b | Case: Wallet is revoked by user | 3 | | 1.3c | Case: Wallet ID is revoked by admin | 4 | | 1.3d | Case: Wallet recovery code is revoked by admin | 5 | | 1.3e | Case: Wallet solution is revoked by admin | 6 | | **1.4** | **System executes partial flow [PF1.4 Apply update policy](PF1.4_ApplyAppUpdatePolicy.md)** | | | 1.4a | 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 screen 'forgot PIN'** | | | 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 screen 'forgot PIN'** | | | 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 | | **3** | **WHEN WALLET IS REVOKED BY USER** | | | **3.1** | **System displays screen 'Your wallet was deleted'** | | | 3.1a | User selects To help desk | 3.2 | | 3.1b | User selects Help | Show placeholder 'under construction' | | **3.2** | **System displays screen 'Contact'** | | | 3.2a | User selects Call
→ System opens phone and suspends app | | | 3.2b | User selects Back | Back | | **4** | **WHEN WALLET ID IS REVOKED BY ADMIN** | | | **4.1** | **System displays screen 'Your wallet is blocked'** | | | 4.1a | User selects To help desk | 4.2 | | 4.1b | User selects Help | Show placeholder 'under construction' | | 4.1c | User selects Create new NL Wallet | Go to: [UC1.1 Introduce the app](../use-cases/UC1.1_IntroduceTheApp.md) | | **4.2** | **System displays screen 'Contact'** | | | 4.2a | User selects Call
→ System opens phone and suspends app | | | 4.2b | User selects Back | Back | | **5** | **WHEN WALLET RECOVERY CODE IS REVOKED BY ADMIN** | | | **5.1** | **System displays screen 'Your have been blocked'** | | | 5.1a | User selects To help desk | 5.2 | | 5.1b | User selects Help | Show placeholder 'under construction' | | **5.2** | **System displays screen 'Contact'** | | | 5.2a | User selects Call
→ System opens phone and suspends app | | | 5.2b | User selects Back | Back | | *65** | **WHEN WALLET SOLUTION IS REVOKED BY ADMIN** | | | **6.1** | **System displays screen 'NL Wallet can no longer be used'** | | | 6.1a | User selects Read more information | 5.2 | | 6.1b | User selects Help | Show placeholder 'under construction' | | **6.2** | **System displays screen 'More information'** | | | 6.2a | User selects Back | Back |