Add permissions functionality to the user view.