feat(signup): require privacy + legal acknowledgement at sign-up #59
Loading…
Reference in a new issue
No description provided.
Delete branch "audit/legal-compliance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
<p-checkbox>above the Create account button: "I have read and accept the privacy policy and legal notice." The submit button stays disabled until ticked (Validators.requiredTrue).https://roll-note.com/privacy,/legal) via a newEXTERNAL_LINKSconstant.Why
Pairs with rollnote-website's new privacy + legal pages and rollnote-api's delete-account fix. Auditing the signup flow found no terms checkbox and no link to any policy - users were creating accounts with zero acknowledgement that any policy existed.
Test plan
signup.spec.tstest: form is invalid untilacceptTermsis true.acceptTerms: true.pnpm ng test --no-watch- 703/703 passing (2 pre-existing skipped).pnpm exec tsc --noEmit -p tsconfig.json- clean.pnpm build- clean (pre-existing CommonJS warnings only).pnpm lint- clean./register, confirm checkbox renders below the password-mismatch slot, links open in new tab, submit button gates correctly.