WP-4700 Added code to hide the Upload buttons on the public and private files.