Title: Plugin API seam: api.authorize — ask the host's WAC about authority the requester doesn't drive · Issue #604 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: Plugin API seam: api.authorize — ask the host's WAC about authority the requester doesn't drive · Issue #604 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: Plugin API seam: api.authorize — ask the host's WAC about authority the requester doesn't drive · Issue #604 · JavaScriptSolidServer/JavaScriptSolidServer
Description: One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most blocking seam — the one that moves the most backlog from "plugin-approximation" to "faithful". The gap The loopback pattern (call the...
Open Graph Description: One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most blocking seam — the one that moves the most backlog from "plugin-approximation" to "faithful"...
X Description: One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most blocking seam — the one that moves the most backlog from "plugin-approximation" to ...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/604
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plugin API seam: api.authorize — ask the host's WAC about authority the requester doesn't drive","articleBody":"One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader ([report](https://github.com/JavaScriptSolidServer/plugins/blob/gh-pages/REPORT.md)). The most **blocking** seam — the one that moves the most backlog from \"plugin-approximation\" to \"faithful\".\n\n## The gap\n\nThe loopback pattern (call the host over HTTP with the *client's own* credentials, let WAC decide) already covers the common case, and it's why `api.wac.check` is NOT needed generally. But it can only answer \"may **this caller** read X?\". It cannot answer authorization the requester **doesn't drive**.\n\n## Consumers (4, uncoordinated)\n\n- **corsproxy/** (#382): per-pod proxy ACLs — the *pod owner's* `.acl` should govern what the proxy fetches, whatever the caller presents.\n- **capability/** (#506): a capability URL exercises the **issuer's** authority; the bearer has no Solid credentials at all. Today the plugin enforces only its own token scopes, not the issuer's *current* WAC rights (revocation-by-ACL-edit doesn't propagate).\n- **pay/**: the 402 gate wants to *compose* with WAC rather than replace it.\n- **caldav/** (RFC 6638 scheduling): Outbox→Inbox delivery is a write into the **recipient's** pod that the sender has no WAC right to make — loopback structurally cannot express it. (A narrower server-mediated deliver-to-inbox primitive would also cover this one.)\n\n## Sketch\n\n`api.authorize({ agent, path, mode }) → Promise\u003cboolean>` — agent id (not request) in, decision out, the same engine the LDP path uses.\n\n## Cost\n\nMedium — the WAC engine exists; this is plumbing an entry point onto the `api` object. Higher design surface than the other three (what identity forms `agent` accepts, how it composes).","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-07-11T08:59:43Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/604"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:14960ce1-6260-41ea-157a-a74921534dec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 834A:DDFD6:E27242:11E91C3:6B037D44 |
| html-safe-nonce | 4d6e2e91ffa9fdac7a04b8557053b193ba8f7e74507fc1df858e4a6a78ffb917 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzRBOkRERkQ2OkUyNzI0MjoxMUU5MUMzOjZCMDM3RDQ0IiwidmlzaXRvcl9pZCI6IjQ3MTcwOTM3NjA0MzYyMzk2ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0beaa2cd8984eb6cd194952228d03b596c49da864d3803e7f15397c51bf7b904 |
| hovercard-subject-tag | issue:4861501144 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/604/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a1c990ce91b59574345e6f3bf48804e3b9c7aa890c7faa6d99c7d04b308c8d88/JavaScriptSolidServer/JavaScriptSolidServer/issues/604 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a1c990ce91b59574345e6f3bf48804e3b9c7aa890c7faa6d99c7d04b308c8d88/JavaScriptSolidServer/JavaScriptSolidServer/issues/604 |
| og:image:alt | One of four plugin-API seams from building 33 out-of-tree plugins on the #206 loader (report). The most blocking seam — the one that moves the most backlog from "plugin-approximation" to "faithful"... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width