This topic has not yet been written. The content below is from the topic description.
As an example, imagine that you need to render some controls only for administrators. To do so, create an administrator role (admin) in your web.xml file. Then implement authorization that assigns the admin role to the user that has logged in as an administrator. Once this has been done, you can use the rich:isUserInRole(Object) function with the rendered attribute of any component. For example: ... ... Here, only a logged-in user with an admin role can see the text editor, which will not be rendered for users with other roles.