the share action should only be added for shareable files

https://github.com/owncloud/core/pull/8124 for master