Ensure admin links in sidebar are displayed for users with relavant permissions, and only them (#597)