How to connect one user roles with their cart?

0
Hi, i’m building an online coffee shop, so as a regular user when i something add to cart and than switch to administrator role he can also see a regular user cart, what can i do to each user have it’s own shopping cart? i tried with session but when i put 1-1 relationship with cart i get error, and 1-* isn’t working, plz help!
asked
1 answers
0

Hi Nemanja,

you have to define an Access Rule to your entity.

Check this document https://docs.mendix.com/refguide/access-rules

 

answered