Install

Works with Drupal: ^11.4 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 224.03 KB
MD5: b02a68693eac6ad9531b63e1d4789b55
SHA-1: 595b1da912a2f6c20ea1d313203ba232467652c1
SHA-256: 0f880879788feb75141c6c8b63c17362fc68061eccd7aab1be55e5a12388b5aa
Download zip 341.21 KB
MD5: 1ff15bfd31fe35cba481c987a71250c5
SHA-1: 8e9b057c912f0718f63e187a0a947214745154e1
SHA-256: d025c254584417b951bc8e31898f129462315c7212eb3ae6c176fc3bb6cf5583

Release notes

Added

  • Optional file_gate_mcp submodule: five Tool API plugins governed by MCP Sentinel (#3624444). file_gate_status, file_gate_file_gate, file_gate_grants_list and file_gate_metrics are read-only; file_gate_grant_revoke revokes one grant and refuses a grant id recorded against another field. No tool returns secret material, a file path, a URL or a grant token. The base module's dependencies are unchanged. The submodule declares Drupal ^11.4 only, because MCP Sentinel does not declare Drupal 12 yet.
  • file_gate.gated_field_overview service lists gated fields with their method and storage scheme. The settings form now reads from it.

Fixed

  • A field storage marked gated on a file scheme other than private is now refused at save, on every write path (#3624449). It was refused only by the field form and at configuration import, so the entity API, a recipe, an update hook, drush config:set or a configuration tool could write it, and the files stayed public. A site already in this state can still load, edit and re-save the field unchanged, and stays an error on the status report.
  • A revoked signed_url grant could be redeemed again when it outlived its kill mark (#3624450). The mark now lasts until the grant's stored expiry plus one hour. A caller ttl can lengthen it and cannot shorten it. Single and bulk revoke share the rule.
  • The two status report findings move from hook_requirements() to hook_runtime_requirements() (#3624429). Drupal 13 stops calling the procedural hook. Same keys, titles, severity and text.

Changed

  • file_gate_requirements() is removed. It was a hook implementation, not an API.

Upgrading

Rebuild caches after updating (drush updatedb or drush cr): the compiled container still lists the removed function until it is rebuilt. No schema change.

Created by: jmcerda
Created on: 19 Sep 2026 at 09:22 UTC
Last updated: 19 Sep 2026 at 09:23 UTC
Bug fixes
New features
Unsupported

Other releases