Does the declaration grant this operation? — the per-operation gate.
⚠️ Absent means REFUSED, and a present-but-empty edition block grants
nothing either: declaring is not granting. No key implies another — update does
not grant delete. Deriving one from the other is the exact mechanism by which
enableEditionFull had acquired a lying name.
A malformed edition (string, array, null) is no better than absent: it grants
nothing. We do not throw — the profile schema already refuses the shape at
validation, and this branch only covers a profile mounted by hand, by a test or a
host.
Parameters
declared: unknown
The raw value of the layer's edition key, unvalidated.
Does the declaration grant this operation? — the per-operation gate.
⚠️ Absent means REFUSED, and a present-but-empty
editionblock grants nothing either: declaring is not granting. No key implies another —updatedoes not grantdelete. Deriving one from the other is the exact mechanism by whichenableEditionFullhad acquired a lying name.A malformed
edition(string, array,null) is no better than absent: it grants nothing. We do not throw — the profile schema already refuses the shape at validation, and this branch only covers a profile mounted by hand, by a test or a host.