this takes the roles the user has, and turns htem into corpus masks which can be displayed in the app (saved to local storage since we get the roles before the user lands on their corpus dashboard).