feat(pocketbase): switch on the audit-log hooks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8c99381aa5
commit
f8294b4e1d
2 changed files with 5 additions and 5 deletions
|
|
@ -138,9 +138,8 @@ hook utils — add new auto-updated fields there.
|
|||
Hooks deploy from git: commit changes in `pocketbase/pb_hooks/`, then
|
||||
`npm run pb:hooks:publish` (pushes that folder to Forgejo `David/WFDASH-PBHOOKS`);
|
||||
a VPS cron syncs the files listed in `DEPLOY` into the live PB hooks volume
|
||||
(see `scripts/pb-hooks/README.md`). **As of 2026-10-17 only `quotes.pb.js`
|
||||
is deployed — the audit hooks are NOT live yet**, so `audit_log` is empty
|
||||
until both `audit_log.pb.js` and `audit_log_utils.js` are added to `DEPLOY`.
|
||||
(see `scripts/pb-hooks/README.md`). The audit hooks went live on 2026-10-17;
|
||||
`audit_log` has no history from before that date.
|
||||
|
||||
# Giellie agent (`/giellie`) — tools come from the MCP, policy lives in one file
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,8 @@
|
|||
# is NOT deployed, and a *.js file on the server that is not listed here is
|
||||
# removed on the next sync. See scripts/pb-hooks/README.md.
|
||||
#
|
||||
# Not deployed yet: audit_log.pb.js + audit_log_utils.js — add BOTH lines
|
||||
# together when the audit trail is switched on (utils is required by the hook).
|
||||
# audit_log.pb.js requires audit_log_utils.js — always deploy them together.
|
||||
# Publish: commit, then `npm run pb:hooks:publish`; the VPS syncs within ~2 min.
|
||||
quotes.pb.js
|
||||
audit_log_utils.js
|
||||
audit_log.pb.js
|
||||
|
|
|
|||
Loading…
Reference in a new issue