You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/extensions/ui-extensions.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,7 +212,7 @@ This field contains :
212
212
- A `productUuids` field which is an array of string representing the UUIDs of selected products
213
213
- A `productModelCodes` field which is an array of string representing the codes of selected product models and sub models
214
214
- A `context` object containing the configured `locale` and `channel`.
215
-
- A `user` object containing the `username` and `groups` of the connected user.
215
+
- A `user` object containing the `uuid`, `username` and `groups` of the connected user.
216
216
217
217
Example :
218
218
```json
@@ -230,6 +230,7 @@ Example :
230
230
"channel": "ecommerce"
231
231
},
232
232
"user": {
233
+
"uuid": "4ebad9a4-7728-4d90-9db0-9e5a5c6a4d45",
233
234
"username": "admin",
234
235
"groups": [
235
236
"IT support",
@@ -280,7 +281,7 @@ Here is a diagram illustrating the workflow:
280
281
Data sent within the POST body, formatted in JSON, contains :
281
282
- A `data` object with different fields depending on the [position](#position).
282
283
- A `context` object containing the configured `locale` and `channel`.
283
-
- A `user` object containing the `username` and `groups` of the connected user.
284
+
- A `user` object containing the `uuid`, `username` and `groups` of the connected user.
284
285
- A `timestamp` that can be used with a [secret](#secret) to help you to protect your server against [replay attacks](https://en.wikipedia.org/wiki/Replay_attack).
285
286
286
287
From a position `pim.product.header`, the `data` object contains :
0 commit comments