Configuring a form to be role-based