Restricting process for enum attributes based on Roles

Hi,

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:
https://www.cuba-platform.com/discuss/t/how-to-show-only-one-value-in-dropdown-based-on-users-and-roles

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