Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81128

Using Xpath constraint to only show user's own data to user: why can the user not see his own data?

$
0
0

I got an app in which users can add orders. I created an association between Order in the Management module and Account in the Administration module: Order_Account.

I use access rules of the entity Order in an attempt to be able to show the user only the data he added himself.

[Management.Order_Account='[%CurrentUser%]']

The problem is that when I run the app, the user can add data, but the added data is now not shown at all, the Order page stays empty.

The order is added, cause the Administrator account is able to see the added data. So there must be a problem in the Xpath constraint I used.

Does someone know how I can solve this?


Viewing all articles
Browse latest Browse all 81128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>