Sharing info is needed for public links only.

Further work on https://github.com/owncloud/documents/issues/287