docs: fix typo in inherited roles

GITHUB_PR_NUMBER: 6863
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6863

Co-authored-by: Brian Childress <2747820+brian-childress@users.noreply.github.com>
GitOrigin-RevId: e385e3899cf436d08b8f97a6f25dd573d02245b5
This commit is contained in:
hasura-bot 2021-05-04 19:02:38 +05:30
parent 3dfc50e3ac
commit fef2529c41

View File

@ -280,7 +280,7 @@ with inherited roles when a column doesn't have permission in the particular row
4. Suppose we have two tables ``users`` and ``authors`` and similarly two roles ``user`` and ``author`` are defined. The ``user``
role doesn't have permission to query the ``authors`` table and the ``user`` role doesn't have permission to query the ``authors`` table. With only the ``user`` and the ``author`` role, we won't be able to construct a query which fetches data from both the tables. This can be solved by creating an inherited role out of ``user`` and ``author`` which can query both the
role doesn't have permission to query the ``authors`` table and the ``author`` role doesn't have permission to query the ``users`` table. With only the ``user`` and the ``author`` role, we won't be able to construct a query which fetches data from both the tables. This can be solved by creating an inherited role out of ``user`` and ``author`` which can query both the
tables in a single query.