---
title: "FGA Policy Helpers"
description: "New FGA policy helpers make it easier to write dynamic, context-aware policies."
url: https://workos.com/changelog/fga-policy-helpers
---

# FGA Policy Helpers

Update: A new version of [WorkOS FGA](https://workos.com/changelog/fine-grained-authorization) was released in February 2026. This changelog no longer applies. Learn about the new [FGA in the docs](https://workos.com/docs/fga).

FGA policies now support two new special variables—`check_ctx` and `warrant_ctx`—along with a new helper function, `get_metadata`. Use `check_ctx` to access information about the current access check (e.g., resource_type, resource_id), and `warrant_ctx` to reference warrants attributes matched during evaluation. The `get_metadata` helper lets you fetch resource metadata directly within a policy, eliminating the need to pass those values manually via the context parameter. Together, these additions make it easier to write dynamic, context-aware policies. View the [FGA docs](https://workos.com/docs/fga/policies/advanced-usage/injected-context) for more information.
