Get Started with Redwood: Oracle Cloud SCM and Purchasing
Groovy expression based on users
Summary:
Hi, we have this expression trying to make a DFF conditionally read only based on certain users.
It seems not working, can you please advice how to correct it?
Thank you
Content (please ensure you mask any confidential information):
try { if(#{securityContext.userName} == "XXXX") { return true } else { return false } }
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
Tagged:
0