Support for array operators in permissions
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.
Company
Hasura
Date published
Aug. 9, 2019
Author(s)
Marion
Word count
278
Language
English
Hacker News points
None found.