|
|
I got this code from John Mackey and Tim Tripcony discussing the best way to do this in the comments on one of my blog posts. I thought it would be good to share! compute the hide when value to
context.getUser().getRoles().contains('[RoleName]');
Author: Mark Hughes |