Share and permissions

Share a public Playground snapshot, publish a no-login page or intake form, invite guests to one page, or run a synced workspace with server-enforced roles down to individual rows.

Four ways to share

Way Sign-in Best for Where

Playground (/playground/…)  None     Public editable snapshot of a page or folder  Page menu (⋮) → Copy to Playground 
Public link (/p/…)          None     Read-only pages or anonymous intake forms     Page menu (⋮) → Share → Make public
Share one page              Account  Clients or guests on a single page            Page menu (⋮) → Share              
Workspace members           Account  Teammates across pages with roles             settings/index.ki → Members        

Local workspaces stay on this device—Copy to Playground (app.copy-to-playground) copies a page (and the local text files it uses) or a folder to an immutable, public /playground/… snapshot without sharing your workspace. To share live data, sign in on settings/index.ki and click Enable sync (synced workspaces keep working offline and catch up when reconnected).

Page sharing and public forms

In a synced workspace, open ⋮ → Share (app.share) to grant people or roles one of five access levels:

Share menu Rule word What it allows

Can view     view       Read the page                                               
Can fill in  submit     Submit new rows without seeing anyone else's rows           
Can use      use        Read, add, edit, and delete rows; prose and code stay locked
Can edit     build      Edit page prose and code as well                            
No access    none       Hide the page                                               

• People, roles, and links: Add an email (non-members join as guest with access only to what you share) or a role name, or turn on Share by link (sign-in required) or Make public (/p/…, no sign-in, Can view or Can fill in with submissions listed under Responses).

• Intake forms & shared imports: Give visitors Can view on the form page and Can fill in on the records.ki file holding the target table (Can't open what it uses flags missing imports with a one-click Share button). Mark (:email Customer |> owner) on a column so signed-in submitters automatically own their rows (doc/table.ki).

Workspace roles and row rules

Invite teammates under Members on settings/index.ki. Every workspace starts with five roles, and naming any new word (such as customer or teacher) creates a custom role starting with no access:

Role Default access

owner     Full control, including members, billing, and access rules       
builder   Edit pages and code, create files, use drafts, and ask @AI       
operator  Use every page (read, add, update, delete rows); cannot edit code
viewer    Read every page                                                  
guest     No default access—sees only pages explicitly shared with them    

For table-, column-, or row-level rules, open Access on settings/index.ki (app.access). Each row sets Who (role or email), Where (*, catering/orders.ki, catering/records.ki/orders, or catering/records.ki/orders/Total), and Access—combine terms with +, and suffix :own to restrict to rows whose owner column matches app.user-email (for example view:own+submit, or fine-grained terms read, insert, update:own, delete:own, text, create, branch, ai, admin):

Who Where Access

customer  catering/orders.ki          view           
customer  catering/records.ki/menu    view           
customer  catering/records.ki/orders  view:own+submit
operator  catering/invoices.ki        none           

Most specific rule wins: column beats table, table beats page, page beats *, and a person's grant beats their role's.

Preview with View as

Choose View as role in ⋮ to inspect the workspace read-only with that role's exact pages and :own row filtering. Unreadable pages and rows are stripped on the server before reaching the browser (app.access-of only hides disabled UI controls):

Where next

• doc/table.ki — owner and key column decorators

• doc/build.ki — organizing records.ki and job pages

• std/app.ki — app.access, app.members, and sharing verbs

• demo/agency/index.ki — client portal using :own row rules