Skip to content

Commit ff3dbb2

Browse files
SCAL-288927
1 parent 773b4c8 commit ff3dbb2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
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:

0 commit comments

Comments
 (0)