P0 init: minimum trusted-plugin hook surface for hosted auth (slice of #58) #73
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority:P1
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/quasar#73
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
init.lisp(#58) is the intended trusted extension layer for hosted deployments (billing, quotas, auth policy), but today it can only set two autodig variables. The first hosted consumer is interim CouchDB-backed per-user auth implemented OUTSIDE quasar (starintel-biz plugin), and it needs a minimal, supported hook surface instead of redefining core functions from init.Required minimum hooks (auth slice)
session-created/session-registerednotification (principal, workspaces, capabilities) so plugins can observe issuance.http-requestmiddleware hook at the CLOG boot path: a plugin can inspect request headers/cookies and supply the session token to inject (this is the per-request injection point also needed by #71).quasar.plugin) so plugins do not reach into uninterned internals.Non-goals (remain in #58)
Acceptance
symbol-functionredefinition of quasar internals.