feat(36-01): add EN/PL scope picker phrasebook copy, regenerate OpenAPI/TS schema, and update docs

This commit is contained in:
Jakub Zych
2026-11-24 19:32:59 +01:00
parent ca7980ef54
commit c8985af874
9 changed files with 127 additions and 7 deletions

View File

@@ -110,7 +110,7 @@ func (p *BlogPlugin) Schedule() []pact.ScheduledCommand {
| `pact.HasMailPartials` | Ships mail partials, named `<plugin>::mail.partials.<name>` and loaded from `views/mail/partials/<name>.htm`. Independent of `pact.HasMailTemplates`. |
| `pact.Permission` | One backend permission entry (code, tab, label, roles). |
| `pact.HasPermissions` | Declares backend permissions. |
| `pact.TokenScope` | One personal API token scope: name, label, description, permission patterns and HTTP methods. |
| `pact.TokenScope` | One personal API token scope: name, label, description, optional `Group` (phrase key containing `::` or literal text, matching `pact.Permission`), permission patterns and HTTP methods. |
| `pact.HasTokenScopes` | Declares personal API token scopes compiled at admin boot. |
| `pact.FrontendTokenScope` | One member personal API token scope: `Name` (what a route's `user.scope:<name>` middleware checks), `Label`, `Description` and `Implies` (`""`, `read` or `write`; empty means not implied). The route middleware enforces the scope; `Implies` is data for a later OAuth MCP check and is not an expansion by itself. |
| `pact.HasFrontendTokenScopes` | Declares member token scopes, the frontend counterpart of `pact.HasTokenScopes`; compiled by the plugin that owns member tokens, never by the admin token catalog. |