Honour `canShare` property for content and discussions to hide share functionality

Currently the share controls are shown regardless if the user has access to share, which results in a 401 when they try and complete the share operation.