Compare commits

..
5 Commits
Author SHA1 Message Date
james.maes 8573578aed Merge pull request 'feat: Transfer Notebook action; a notebook's owner is not set by a save' (#52) from fix/transfer-notebook-owner into develop
maven / build (push) Successful in 3m26s
build / maven (push) Successful in 3m32s
2026-11-24 15:09:18 +00:00
james.maesandClaude Fable 5.2 f19cc4eb25 docs(upgrade): who gets which answer when a save changes a notebook's owner
maven / build (push) Successful in 2m2s
build / maven (push) Successful in 2m2s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 06:11:20 -06:00
james.maesandClaude Fable 5.2 f8638c31a5 feat: Transfer Notebook action; a notebook's owner is not set by a save
maven / build (push) Successful in 1m58s
build / maven (push) Successful in 1m58s
An administrator gave a notebook to another owner by updating ownerUserId, a
field the table declares not editable; the notebook customizer let it through.
A QQQ core that refuses a person's write of a field that is not editable
refuses that save, so the transfer stops working there.

A transfer is an action, not an edit. New record action
sqlWorkbenchTransferNotebook on a notebook, for holders of the admin
permission: NotebookService.transfer checks the administrator again, writes
the owner as the qbit's own write (system input source) in the
administrator's session, with the record locks, and appends a version
"Transferred from A to B" saved by the administrator; the record audit
carries the same note. The field stays not editable, so every client shows it
read-only and none needs a special case.

The customizer now refuses a save that would change the owner, for everyone,
with a message naming the action, so the behaviour is the same on a core with
the rule and on one without. A save that sends the stored owner back is
stored.

Tests over real HTTP (the UI API process and table routes):
NotebookTransferHttpTest. They pass on the pinned core and on a locally built
core with the rule.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 04:57:20 -06:00
james.maes 54775e3444 Merge pull request 'feat: table standard dates, modifyDate on every table' (#50) from feat/table-standard-dates into develop
maven / build (push) Successful in 3m59s
build / maven (push) Successful in 3m59s
2026-11-20 15:57:57 +00:00
james.maesandClaude Fable 5.2 3f7f41312a feat: table standard dates, modifyDate on every table
maven / build (push) Successful in 4m2s
build / maven (push) Successful in 4m2s
Every table has createDate and modifyDate (DATE_TIME, not editable, QQQ
CREATE_DATE / MODIFY_DATE behaviors). Adds modifyDate to the notebook version,
result snapshot and execution tables, with an append-only upgrade block in
docs/ddl/postgres.sql, upgrade notes and tests.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-20 08:42:38 -06:00
+1 -1
View File
@@ -21,7 +21,7 @@
<qqq.version>4.1.0-RC.26</qqq.version> <!-- feeds qbit-build-parent's qqq-bom-pom import -->
<qbit.guardrails.enforce>true</qbit.guardrails.enforce>
<qbit.guardrails.strictUiApiRoutes>true</qbit.guardrails.strictUiApiRoutes>
<revision>1.0.0-RC.13</revision>
<revision>1.0.0-SNAPSHOT</revision>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<jacoco.version>0.8.15</jacoco.version>