-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Description
Implement a verification workflow that ensures only verified users can access and use the Polyphemus service. Unverified users should be blocked until they complete verification process and receive verification status.
Requirements
1. Database
- update the
is_verifiedboolean field in theuserstable only if the user accept the terms and condition to use the Polyphemus service. - Default value must be
falsefor all new users.
Acceptance Criteria
-
is_verifiedfield exists and defaults tofalse. - Non-verified users are prevented from accessing the Polyphemus service.
- Verified users are able to access the service without interruption.
- Verification successfully updates
is_verified = true. - Unit and integration tests added for verified vs. unverified access cases.