Show Uploadbutton only when user has the permission

If the user hasn't the permission to upload images, don't show the contribute
an image button.

Follows up: I56e10f032330fabee74fcfbb5ab3939e118e3968

Bug: 62598
Change-Id: If7908c52aa65dbe5ab5eb27b6ba8f6ebba553a27
Merge "Show Uploadbutton only when user has the permission"