don't display share permission if resharing was disabled by the admin
Merge pull request #10166 from owncloud/sharing_dont_display_share_permission

[sharing] respect "sharing allowed" setting in the share dialog