Implement visible roles option in specification for configuring the sharing view.