Repository navigation
fix(settings): name the Webflow token's permissions one way, in the card's error and the docs - #1669
Merged
Merged
Conversation
…ard's error and the docs Follow-up from ansvisor#1593. The Webflow card's steps say "set CMS to Read and write and Sites to Read-only". The error for a token without those permissions said "Sites: Read and CMS: Read and write", and the Send to CMS guide (ansvisor#1507) said "Apps & integrations" and "Sites: Read". - The error reads "The token needs CMS: Read and write and Sites: Read-only. Generate a new one with them." - The guide's Connect Webflow step repeats the card's four steps, in the card's words: Site settings › Apps & Integrations › API access, the token name, the permissions, and that Webflow shows the token once. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
gkhngyk
approved these changes
Oct 28, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good.
What I checked:
- Own change. One commit on 3f6a4d4. It merges clean on main (b591947), and with #1676 and #1677 in any order.
- The words. The error now matches the card's step: "CMS: Read and write and Sites: Read-only", in the same order as the step and with the same names Webflow shows under Permissions. Nothing else in the web or the docs still says "Sites: Read".
- The guide. Its Connect Webflow step now has the card's four steps: the same menu path, written "Apps & Integrations" like the card, plus the token name, the permissions and the "shown only once" note. The paste is left to step 2, which already covers it.
- Tests. The card's tests pass (22, on main with all three PRs). With main's
en.json, the changed test fails. CI's web job doesn't run web tests. - Before the API deploy. Web and docs only: nothing waits on a deploy.
As the description says, the server's own message in webflow.js ('The site token needs the Sites (read) and CMS (read and write) scopes') still uses the old words. It's shown in the Send dialog after a send fails on permissions. The small server PR can bring it in line.
8 of 12 tasks
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Follow-up from #1593: the Webflow token's permissions are named one way, in the card's error and in the docs.
The Webflow card's steps say "set CMS to Read and write and Sites to Read-only". But the error for a token without those permissions said "Sites: Read and CMS: Read and write", and the Send to CMS guide (#1507) said "Apps & integrations" and "Sites: Read".
Follow-up: the server's own message (
server/src/lib/cms/webflow.js, shown in the Send to CMS dialog after a send fails on permissions) still uses the old words. It will go in a small server PR.Where people see it: Settings › Integrations › Webflow, when a token lacks permissions, and docs › Send to CMS.
Related issue
Follow-up from #1593's review.
Type of change
feat— New featurefix— Bug fixchore— Maintenance / dependenciesdocs— Documentation onlyrefactor— Code change that neither fixes a bug nor adds a featuretest— Adding or updating testsHow to test
cd web && npx vitest run src/components/settings/webflow-card.test.tsxChecklist
feature/,fix/,chore/,docs/) — see CONTRIBUTING.mdyarn lintpasses (run fromweb/)yarn typecheckpasses (run fromweb/)yarn format:checkpasses (run fromweb/)Full checks were run once, in one tree with this batch's ten follow-up branches merged:
npm test: 246 files, 3,343 tests passed;vitest: 4,348 of 4,349 tests passed. The editor'spage.test.tsxtimed out under load; it passed alone (271/271).A pre-push review was run on all ten branches.
🤖 Generated with Claude Code