Turning on edit mode
A signed-in editor gets a persistent toolbar on any page they can write to; ?kywi-edit=1 opens straight into the editor — both require the page to be published.
Any signed-in user whose role can write to a page gets a persistent toolbar the moment they land on it — nothing to switch on first. Add ?kywi-edit=1 to the URL and the same page opens straight into the full editor instead of the toolbar.
https://example.com/pricing?kywi-edit=1What the toolbar checks, and how often
The permission behind the toolbar is checked on every request, not only ones carrying ?kywi-edit=1 — an editor who is just reading a page still sees it, because the point is to make editing visible wherever it applies, not to reward a specific link. Anyone without write access to that page gets neither the toolbar nor any of the markup it would need.
Publish is a separate permission
Being able to open the editor and being able to publish are two different checks, and a role can clear one without the other. An editor without publish rights still gets the toolbar and the full editor — they can rearrange, edit and save a draft — but the Publish control itself is withheld rather than shown and disabled.
Opening straight into the editor
?kywi-edit=1 starts the editor once, on load; landing on the same page without it opens only the toolbar. Toggling between the two writes the flag into the URL with a plain history update rather than a navigation, so reloading the page or sharing the link lands the next visitor in the same mode you left it in.