Home / Companies / Hasura / Blog / Post Details
Content Deep Dive

Support for array operators in permissions

Blog post from Hasura

Post Details
Company
Date Published
Author
Marion
Word Count
278
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

In v1.0.0-beta.3, support for array operators like _in, _nin, and _has_keys_any has been added to permission rules. This feature allows users to specify access permissions based on arrays of values. An example is given where a user can access zero, one or several organizations. The session variable X-Hasura-Allowed-Org-Ids contains an array of org_id values that determine which organizations the user has access to. The array operators are useful for managing complex permission scenarios and provide more flexibility in defining access control rules.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.