File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,16 @@ This filter ensures that viewers of an embedded chart see only their
262
262
own data, which is useful when embedding charts with potentially
263
263
sensitive information.
264
264
265
+ .. note::
266
+
267
+ If you use a Realm Authentication Provider, ``context.token``
268
+ contains the Realm
269
+ :atlas:`user object </app-services/authentication/user-objects/>` to
270
+ filter. For example, if you enable
271
+ :atlas:`Custom User Data </app-services/users/enable-custom-user-data/>`
272
+ for Realm users, the user object is available in
273
+ ``context.token.custom_data``.
274
+
265
275
To inject a filter specific to each user, in the
266
276
:guilabel:`Authenticated` tab of the the :guilabel:`Embed Chart`
267
277
dialog, set the :guilabel:`Inject Filter Per User`
You can’t perform that action at this time.
0 commit comments