#{s:hasRole('admin')}on the view.
You can easily check for the role of the logged in user, by injecting the same thing.
If the user has a role of admin the boolean is set to true. You can also use the static method,
@In(value = "#{s:hasRole('admin')}")
private boolean isAdmin;
Identity.instance().checkRole("admin");
But the former is nicer right?