mirror of https://github.com/apache/superset.git
docs: update embedded readme with user params context (#25800)
This commit is contained in:
parent
860aa55d00
commit
6443001cef
|
@ -76,6 +76,10 @@ Guest tokens can have Row Level Security rules which filter data for the user ca
|
||||||
|
|
||||||
The agent making the `POST` request must be authenticated with the `can_grant_guest_token` permission.
|
The agent making the `POST` request must be authenticated with the `can_grant_guest_token` permission.
|
||||||
|
|
||||||
|
Within your app, using the Guest Token will then allow authentication to your Superset instance via creating an Anonymous user object. This guest anonymous user will default to the public role as per this setting `GUEST_ROLE_NAME = "Public"`.
|
||||||
|
+
|
||||||
|
+The user parameters in the example below are optional and are provided as a means of passing user attributes that may be accessed in jinja templates inside your charts.
|
||||||
|
|
||||||
Example `POST /security/guest_token` payload:
|
Example `POST /security/guest_token` payload:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
Loading…
Reference in New Issue