Problem/Motivation
A host application may need to change resource authority in the same transaction as a File Gate grant operation. The per-grant lock coordinates redemptions and revocation, while the field inventory index can omit primary records. There is no supported host participation boundary across these operations.
Proposed resolution
Add an optional server-owned integration for a designated signed-URL field and grant class. Let the host coordinate grant mint, redemption and revocation with its database transaction, inspect authoritative grant state and verify revocation through the original expiry. Preserve existing behavior for unenrolled fields. Refuse participation when the backing stores or transaction boundary cannot be qualified.
Remaining tasks
- Implement and document the optional participation and state-inspection contracts.
- Exercise real mint, consume and revoke paths, transaction failures, concurrency and unsupported stores.
- Verify unchanged behavior for unenrolled fields and keep signing material and bearer URLs outside coordination records.
Issue fork file_gate-3639302
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jmcerdaImplementation and regression coverage are available in MR !4. The change covers optional host participation, bounded authoritative state inspection, coordinated revocation, transaction failure handling, and protected private-file delivery. Unenrolled fields retain their existing behavior.
Focused PostgreSQL, MySQL, and SQLite suites passed. Review and the remaining CI checks are required before merge.
Comment #5
jmcerdaReleased in File Gate 1.13.0. The change went in through merge request !4. The packaged archive matches the tagged source.