Repository navigation
Let users past the trial-ended wall reach the profile to delete their account - #1338
Merged
Merged
Conversation
helpcodeai
enabled auto-merge (squash)
October 30, 2026 08:21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A Cloud user whose trial had ended wrote through the contact form on 29 Oct that they wanted to delete their account, and that there was "no way around the payment gate". They were right: the licence wall covers every page except login and
/settings/license, and "Delete my account" is on/settings. So someone who doesn't want to buy could only ask us to delete their data.Changes
license-wall.tsx:/settings(the profile page, exact path) is exempt from the wall, beside/settings/license. The other settings pages stay behind it./settings.billing-awareness.spec.ts): with an ended trial, the wall shows, the link opens/settingswithout the wall, and "Delete my account" is there.Nothing new becomes usable: tool calls are still refused by the backend's
checkLicenseActive, andDELETE /api/users/mekeeps its checks (password or re-auth, sole admin, live Stripe subscription). Cloud only in practice: on self-hosted the wall appears for an expired licence too, and the same exemption applies there.Type
Testing
In
packages/frontend:npx playwright test tests/e2e/billing-awareness.spec.ts: 14 passednpx tsc --noEmit -p tsconfig.json: no errorsnpx eslinton the two files: 0 errors (the 2 warnings already exist on main)Checklist
npm test) (frontend change; CI runs the backend suite)Related Issues
Support request via the website contact form, 29 Oct 2026