Skip to content

2.25.0

Choose a tag to compare

@goldnead goldnead released this 09 Oct 19:01
· 173 commits to main since this release

Upgrading

  • No migration. Needs nothing new; the action only registers when the entitlements addon is detected.

Fixed

  • de.json no longer carries the key Success, which statamic/cms owns and translates identically
    (TranslationKeyOwnershipTest failed on current statamic/cms).

Added: Check Access (entitlements.check_access)

A gate for flows that wait: it looks up now whether an address holds a product and ends
the run when the answer is not the one the flow needs. A condition on the trigger only knows
the state at the moment the run started, which is wrong for a mail sent ten days later.

  • Settings: email, product_slug, mode (require or forbid).
  • When the condition does not hold the run stops; when the check cannot be made (addon
    missing, bad address, the addon throws) the node fails. A forbid never passes because
    the check broke.
  • An address is found as the Statamic user who owns it and as a subject of type email; access
    is the entitlements addon's own decide() (active or in grace period, not revoked, expired,
    scheduled or pending).
  • Only registered when the entitlements addon is detected. No migration, no new dependency.