Hello all,
Currently what I want to accomplish in portal is,
if the user log in as admin or manager...etc, set a view for management for the list,
and for normal end user it shows another view for them;
What I have done is, I have set 2 different entity list with different form say A and B,
and I created a WEB template like this:
{% if user.role_keys contains 'admin'%}
{% entitylist id:'entitylist A' %}
{% else %}
{% entitylist id:'entitylist B' %}
{% endif %}
{% endif %}
though it doesn't work out well,
could you please give me some advise to solve this?
P.S. I don't even know if I use the attr 'id' correctly... any reference about how to build up in liquid would be also appreciated!
Best Regards,
*This post is locked for comments