Add update permissions hook to sharing
Merge pull request #3979 from owncloud/permissions-hook

Add update permissions hook to sharing