Hi all
I wanted to use sandbox to hide some fields in specific role but it doesn't work.
e.g
when I add the EL like '#{securityContext.userInRole['AVI_HR_ASSISTANT_CUSTOM']==ture?'true':'false'} in lable's EL,and I am sure current user has the role'AVI_HR_ASSISTANT_CUSTOM'. But the labe shows false.
when I changed the EL to '#{securityContext.userInRole['AVI_HR_ASSISTANT_CUSTOM']==false?'false':'true'} in lable's EL, the labe shows true.
It seems the function securityContext.userInRole always return null. Do you know why?
Thanks in advance.