Skip to content

Commit 0ac4314

Browse files
Merge pull request #392 from thoughtspot/abac-and-locale-updates
SCAL-289827 and SCAL-288927 updates
2 parents 09afbef + ff3dbb2 commit 0ac4314

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

modules/ROOT/pages/abac_rls-variables.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,7 @@ ABAC details are sent in a JWT that can be used as a bearer token for cookieless
362362
====
363363

364364
=== Verify the variable assignment
365-
366-
To verify the variable assignment, use the `POST /api/rest/2.0/users/search` API call and check `variable_values` in the user properties in the API response.
365+
To retrieve user information and object properties, you can use the `POST /api/rest/2.0/users/search` API call. To include variable details in the response, set the `include_variable_values` parameter to `true` in the API request body. This allows you to fetch variable values associated with the user in the specified context.
367366

368367
[source,JSON]
369368
----
@@ -395,7 +394,10 @@ To verify the variable assignment, use the `POST /api/rest/2.0/users/search` API
395394
}
396395
----
397396

398-
To verify the security entitlements, start a user session using the JWT and inspect the generated SQL for your query or visualization.
397+
You can also use the `POST /api/rest/2.0/template/variables/search` API call to xref:variables.adoc#_get_variables[get the list of variables] assigned to a specific user, Org, and Model.
398+
399+
==== Updating variable values for a user
400+
To update variable values for a user, you can use the `/api/rest/2.0/template/variables/update-values` endpoint, or `/api/rest/2.0/auth/token/custom` endpoint when logging in the user. Do not use the `/api/rest/2.0/users/{user_identifier}/update` endpoint, as it does not support updating variable values.
399401

400402
== Verify the entitlements
401403
To verify the entitlements:

modules/ROOT/pages/locale-setting.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@ If you want to set your embedded app view to a specific locale for your applicat
2323
[options="header"]
2424
|====================
2525
| Locale | Language
26-
| `ar-EG` | Egyptian Arabic
2726
| `da-DK` | Dansk
2827
| `de-DE` | Deutsch
29-
| `de-CH` | German (Switzerland)
28+
| `de-CH` | Deutsch (Switzerland)
3029
| `en-AU` | English (Australia)
3130
| `en-CA` | English (Canada)
3231
| `en-DE` | English (Germany)
3332
| `en-IN` | English (India)
33+
| `en-NZ` | English (New Zealand)
3434
| `en-GB` | English (United Kingdom)
3535
| `en-US` | English (United States)
36-
| `en-NZ` | English (New Zealand)
36+
| `es-ES` | Español
3737
| `es-US` | Español (Latinoamérica)
38-
| `es-ES` | Español (España)
39-
| `es-MX` | Spanish (Mexico)
40-
| `fi-FI` | Suomi
38+
| `es-MX` | Español (Mexico)
4139
| `fr-CA` | Français (Canada)
4240
| `fr-FR` | Français (France)
41+
| `ja-JP` | 日本語
42+
| `ko-KR` | 한국어
4343
| `it-IT` | Italiano
44-
| `ja-JP` | Japanese (Japan)/ 日本語
4544
| `nb-NO` | Norsk
4645
| `nl-NL` | Nederland
4746
| `pt-BR` | Português (Brasil)
4847
| `pt-PT` | Português (Portugal)
49-
| `ru-RU` | Russian (Russia)
48+
| `ru-RU` | Pусский (ограниченный выпуск)
49+
| `fi-FI` | Suomi
5050
| `sv-SE` | Svenska
5151
| `zh-CN` | 中文(简体)
5252
| `zh-HANT`| 中文 (繁體)

0 commit comments

Comments
 (0)