Closed (fixed)
Project:
FileGate
Version:
1.7.0
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
21 Aug 2026 at 00:26 UTC
Updated:
4 Sep 2026 at 01:10 UTC
Jump to comment: Most recent
Identity-aware mint currently checks file download access and view access on each referencing host entity. That is too coarse for two common cases:
user entity. A different account that can see some users must still be denied a mint for a file attached to someone else's account.A gated file with no resolvable host should also fail closed under identity mint: there is no entity to authorize against.
getParentEntity() (paragraphs). Identity-mint as an account that can view the child but not the parent. Expected: 403.hook_entity_field_access() while still allowing host entity view. Identity-mint as that account. Expected: 403.When an acting account is present on mint, require all of:
user host).getParentEntity() ancestor (duck-typed so File Gate does not depend on Paragraphs).Refuse identity mint when the file has no resolvable host.
None.
Identity-aware mint becomes stricter (fail closed) for user hosts, field-level denials, nested parents, and hostless files. Callers that already passed a correct acting account and had view on the real parent are unchanged.
None.
Comments
Comment #5
jmcerdaShipped in file_gate 1.7.0. Identity-aware mint now requires download access, host view (including user hosts), field view, and nested parent view. A file with no resolvable host is refused.