currently there is the error shown in the screenshot, in the password section a user can only see their own user/profile, and this is the same in access types. However for users this does not work, anyone who knows why? and what syntax should we use to get it working
Hi Keano,
The expression you are using there compares two ‘nodes’, to validate they are the same. The way you wrote it, the system already knows this cannot be true, because the two nodes are not of the same type:
user . ‘Admin’?’No’>’Access Type’ is a node of the type root . ‘Access Types’
in between brackets, you start and end with the current context, so a node of the type root . ‘Users’
To get what you want (I think), you need to write this:
can-read: user .’Admin;’?’Yes’ || user . ‘Admin’?’No’>’Access Type’ is ( . ‘Admin’?’No’>’Access Type’ )
Hello Rick,
Yess that was exactly what we were looking for. Thank you so much!
1 Like
