allow admin to disable sharing for specific groups of users

add admin setting to disable sharing for a some groups of users

@jancborchardt probably you also want to have a look at it from the user experience point of view.