Skip to content

Commit 1ffedac

Browse files
as51340matea16
andauthored
docs: Fix multi-tenancy AUTH example (#1402)
* docs: Fix multi-tenancy example * fix: typo --------- Co-authored-by: Matea Pesic <[email protected]>
1 parent 437d71c commit 1ffedac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pages/database-management/multi-tenancy.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,17 @@ CREATE ROLE tenant2_user;
5050
5151
-- Grant appropriate permissions to tenant roles
5252
GRANT MATCH, CREATE, MERGE, SET, DELETE, INDEX TO tenant1_admin;
53+
GRANT CREATE_DELETE ON LABELS * TO tenant1_admin;
54+
GRANT CREATE_DELETE ON EDGE_TYPES * TO tenant1_admin;
5355
GRANT MATCH, CREATE, MERGE, SET, DELETE TO tenant1_user;
56+
GRANT CREATE_DELETE ON LABELS * TO tenant1_user;
57+
GRANT CREATE_DELETE ON EDGE_TYPES * TO tenant1_user;
5458
GRANT MATCH, CREATE, MERGE, SET, DELETE, INDEX TO tenant2_admin;
59+
GRANT CREATE_DELETE ON LABELS * TO tenant2_admin;
60+
GRANT CREATE_DELETE ON EDGE_TYPES * TO tenant2_admin;
5561
GRANT MATCH, CREATE, MERGE, SET, DELETE TO tenant2_user;
62+
GRANT CREATE_DELETE ON LABELS * TO tenant2_user;
63+
GRANT CREATE_DELETE ON EDGE_TYPES * TO tenant2_user;
5664
5765
-- Grant access only to tenant databases
5866
GRANT DATABASE tenant1_db TO tenant1_admin, tenant1_user;

0 commit comments

Comments
 (0)