Fix repository

Only show the upload for admin and staff