Skip to content

Commit 39fd23c

Browse files
authored
Update cube.md
1 parent 19fd00e commit 39fd23c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/Schema/cube.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,8 @@ cube(`Events`, {
382382

383383
`USER_CONTEXT` is a user security object that is passed by the Cube.js Client.
384384

385+
Please see [Security Context section](security#security-context) on how to set `USER_CONTEXT` value.
386+
385387
User context is suitable for the row level security implementation.
386388
For example, if you have an `orders` table that contains an `email` field you can restrict all queries to render results that belong only to the current user as follows:
387389

0 commit comments

Comments
 (0)