Restricting process for enum attributes based on Roles


In my application as i wanted to restrict the enum attributes. The enum consist of 3 countries, ex India, Australia, Newzealand. Then if the member of India role logs in then the user constraints, it should only show the India in that look up field and the other countries should be restricted.
If the any where clause for restricting the enum attributes in CUBA.

Thank You!

Hi Dhanush,

You’ll find the answer in this topic:

Please check this answer also. It seems to be relevant for your case too.