Operazioni sugli accessi

2 operazioni di nome access.*. Ognuna si esegue in un batch con apply_ops, dry_run_ops, la CLI o l’admin.

Aggiornato il
OperationWhat it doesPermissionConfirmation
access.readRead your own design-system levels on this site: the level of each area (palette, components, variants, themes, ...) and the role overrides that set them.site.readnone
access.updateSet the design-system level of the editor or client role on this site in one area ({ role, area, level }, a level the area offers): what people of that role may view or change in the palette, the components, the variants, the themes and the other areas.site.adminnone

access.read

Read your own design-system levels on this site: the level of each area (palette, components, variants, themes, ...) and the role overrides that set them. A designSystem.* operation is refused unless your level in its area allows it.

permission: site.readreads onlyclass: read

Esempio di input

{}

Input

L’input è un record: vedi lo schema qui sotto.

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}

Output

FieldTypeRequiredNotes
rolestringyesOne of "admin", "editor", "viewer", "client", "content".
levelsrecord of stringyes
overridesarray of objectyes
overrides[].rolestringyesOne of "editor", "client".
overrides[].areastringyesOne of "palette", "semantic-colours", "font-families", "type-presets", "space", "radius", "borders", "shadow", "motion", "grid", "assets", "components", "variants", "themes", "import-export", "reset".
overrides[].levelstringyesOne of "none", "view", "edit", "pick", "switch-default", "export", "own-areas".

Provala

yarn splash access.read '{}' --dry-run

access.update

Set the design-system level of the editor or client role on this site in one area ({ role, area, level }, a level the area offers): what people of that role may view or change in the palette, the components, the variants, the themes and the other areas. Undo restores the levels.

permission: site.adminwrites: accessclass: transactionundo: yes

Esempio di input

{
  "role": "editor",
  "area": "palette",
  "level": "view"
}

Input

FieldTypeRequiredNotes
rolestringyesOne of "editor", "client".
areastringyesOne of "palette", "semantic-colours", "font-families", "type-presets", "space", "radius", "borders", "shadow", "motion", "grid", "assets", "components", "variants", "themes", "import-export", "reset".
levelstringyesOne of "none", "view", "edit", "pick", "switch-default", "export", "own-areas".

Output

FieldTypeRequiredNotes
rolestringyesOne of "admin", "editor", "viewer", "client", "content".
levelsrecord of stringyes
overridesarray of objectyes
overrides[].rolestringyesOne of "editor", "client".
overrides[].areastringyesOne of "palette", "semantic-colours", "font-families", "type-presets", "space", "radius", "borders", "shadow", "motion", "grid", "assets", "components", "variants", "themes", "import-export", "reset".
overrides[].levelstringyesOne of "none", "view", "edit", "pick", "switch-default", "export", "own-areas".

Provala

yarn splash access.update '{"role":"editor","area":"palette","level":"view"}' --dry-run

Generato dal registro delle operazioni e dal catalogo degli strumenti MCP (sorgente d1321a7fbb50a3a7).

Qualcosa non va in questa pagina? Scrivi a docs@librettocms.com.

Guida di Libretto

Colophon. Questa guida è un sito Libretto: 70 pagine in due lingue, 21 pagine della guida importate da Markdown e 42 pagine di riferimento generate dal registro delle operazioni. Composta in Softcore, il codice in IBM Plex Mono. La sua struttura:

/it/ Guida di Libretto /it/start Per iniziare /it/start/request-access Richiedere l'accesso /it/start/workspace Il tuo spazio di lavoro /it/start/first-site Il tuo primo sito /it/start/invite-a-client Invitare un cliente /it/start/connect-claude Connettere Claude a Libretto /it/build Costruire /it/build/first-page Costruire una pagina /it/build/layers-and-canvas Livelli e canvas /it/build/site-components Componenti del sito /it/design-system Design system /it/design-system/tokens Colori, spazi e temi /it/design-system/components Componenti e varianti /it/design-system/fonts Tipografia e font /it/motion Movimento /it/motion/scenes Scene e ricette /it/motion/image-sequences Sequenze di immagini /it/motion/reduced-motion Movimento ridotto /it/publish Pubblicazione /it/publish/languages Le lingue del sito /it/publish/versions Pubblicazione e versioni /it/publish/members-and-forms Iscritti e moduli /it/publish/domains Domini /it/publish/redirects Reindirizzamenti /it/handover Consegnare un sito al cliente /it/glossary Glossario /it/agents Agenti e API /it/agents/mcp Server MCP /it/agents/cli CLI /it/agents/batches Batch /it/agents/errors Errori e segnalazioni /it/agents/operations Operazioni /it/search Cerca