When xpath’ing to retrieve userroles, it is possible to check with all available userroles in your app.
Outside of xpaths, however, you cannot perform checks in the same way. Would it at all be possible for the userroles available within an application to be accessible as global variables along the lines of %CurrentUser%?
Yes, it would be great to have them available as boolean values in expressions, f.e. you could use the tokens in visibility expressions to hide an element for certain user roles.