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
- `CartResolverDecorator`– extends the permission resolver to allow access to shared Carts in collaboration sessions, it checks if a Cart belongs to a collaboration session.
191
+
- `CartResolverDecorator`– resolves the shared Carts in collaboration sessions, it checks if a Cart belongs to a collaboration session.
@@ -222,7 +222,7 @@ In the next step, `addParticipant`, the user whose email address was provided is
222
222
It enables joining a Cart session.
223
223
The session token created earlier is passed in the URL, and in the `Join` action the system attempts to retrieve the session associated with that token.
224
224
If the token is invalid, an exception is thrown indicating that the session cannot be accessed.
225
-
If the session exists, the session parameter (`current_collaboration_session`) is retrieved and store the token.
225
+
If the session exists, the session parameter (`collaboration_session`) is retrieved and store the token.
226
226
Finally, `redirectToRoute` redirects the user to the Cart view and passes the identifier of the shared Cart.
227
227
228
228
``` php
@@ -231,7 +231,7 @@ Finally, `redirectToRoute` redirects the user to the Cart view and passes the id
231
231
232
232
!!! caution "Session parameter"
233
233
234
-
Avoid using a generic session parameter name such as `current_collaboration_session` (it's used here only for example purposes).
234
+
Avoid using a generic session parameter name such as `collaboration_session` (it's used here only for example purposes).
235
235
The user can participate in multiple sessions simultaneously (of one or many types), so using this parameter would cause it to be constantly overwritten.
236
236
Therefore, active sessions should not be resolved based on such parameter.
0 commit comments