IAPL rename: docs, agent guide, skills, reference site and starter on the new names; changelog draft
- docs, AGENT.md, the 16 skills, PROGRAMISTA and README use the preferred names (scripted, same list of forms); past CHANGELOG entries and the proposals in docs/dev are not rewritten - AGENT.md: 'Names: IAPL and ipal-kit' — old name, new name, state in 1.x; what is not renamed; storageNames - iapl-upgrade '→ 1.17.0', PROGRAMISTA §6 item 72, CHANGELOG 1.17.0 (draft): nothing required - env.md, doctor.md (legacy-names, storage-names), stats.md, security.md, project-starter.md, iapl-reference, iapl-setup - skill scripts read ipal-audit-skip and IPAL_IP_HEADER too; audit rule ids stay what they were - reference site: iapl(), iapl-doctor.json, iapl-* skills, storageNames: 'iapl'; INDEX.md regenerated Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
co-authored by
Claude Fable 5.2
parent
425fac14fb
commit
b91984fbcd
@@ -10,7 +10,7 @@ The `site-settings` (`SITE_SETTINGS_SLUG`), `site-integrations` (`SITE_INTEGRATI
|
||||
`cookie-settings` and `notifications` globals are **currently always added** by the plugin (also with
|
||||
`enabled: false`, which keeps the schema) — there is no option to skip them or change their slug.
|
||||
|
||||
| `ipalKit()` option | What it does |
|
||||
| `iapl()` option | What it does |
|
||||
|---|---|
|
||||
| `siteSettingsFields?: Field[]` | extra SiteSettings fields in a separate **"More"** tab (flat data: `settings.myField`) |
|
||||
| `integrationsFields?: Field[]` | extra SiteIntegrations fields in the "More" tab |
|
||||
@@ -26,7 +26,7 @@ SiteSettings tabs (unnamed — flat data): **General** (`siteName`, `siteDescrip
|
||||
Keep nothing confidential there (use SiteIntegrations for that, `read`/`update` admin only).
|
||||
SiteSettings `update` requires the **editor** role or higher (a plain `user` account must not change the brand,
|
||||
the homepage or the under-construction mode; without a `roles` field every logged-in account passes). Change it with
|
||||
`ipalKit({ globalOverrides: { 'site-settings': { access: { update } } } })` (hooks.md).
|
||||
`iapl({ globalOverrides: { 'site-settings': { access: { update } } } })` (hooks.md).
|
||||
|
||||
## Front end — reading globals
|
||||
|
||||
@@ -81,5 +81,5 @@ const data = await getGlobal<MyType>(payload, 'my-global', { locale: 'pl', depth
|
||||
|
||||
- The plugin's globals are currently always added (no option to turn them off / change slugs); `enabled: false` keeps them (schema unchanged) and only drops the plugin's endpoints, `onInit` work and admin components.
|
||||
- Extension: `siteSettingsFields` / `integrationsFields` (the "More" tab).
|
||||
- Change a global's access, hooks, labels or fields with `ipalKit({ globalOverrides: { 'site-settings': … } })` — an object merges `access` / `admin` / `hooks` key by key, a function gets the whole global (hooks.md "Turn off, override, extend").
|
||||
- Change a global's access, hooks, labels or fields with `iapl({ globalOverrides: { 'site-settings': … } })` — an object merges `access` / `admin` / `hooks` key by key, a function gets the whole global (hooks.md "Turn off, override, extend").
|
||||
- `getGlobal(payload, slug, { locale, depth })` works with any project global.
|
||||
|
||||
Reference in New Issue
Block a user