/plushcap/analysis/hasura/implementing-authorization-for-organization-based-team-based-or-tenant-based-apps-in-hasura

Implementing Authorization for Organization-based, Team-based, or Tenant-based Apps in Hasura

What's this blog post about?

This blog post discusses implementing authorization for organization-based, team-based, or tenant-based apps in Hasura. It outlines a common organization-based permission system and provides an example of how to model such permissions using only Hasura's standard permissions system and authorization rules. The solution works for any "group"-like structure, including teams, organizations, tenants in multi-tenant apps, chat group-messages, etc. The article demonstrates how to create relationships between tables and set up appropriate permissions to ensure that users can only see/interact with other entities within their own groups.

Company
Hasura

Date published
Oct. 21, 2021

Author(s)
Gavin Ray

Word count
372

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.