Changelog

FGA Policy Helpers

May 9, 2025

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 for more information.

This site uses cookies to improve your experience. Please accept the use of cookies on this site. You can review our cookie policy here and our privacy policy here. If you choose to refuse, functionality of this site will be limited.