Sharing via link restricted to specific group(s)


Allowing users to share content via links is quite nice. If you set this option, this applies system-wide. Is there a way to limit sharing via links to one group, so that only members of that group can use it, but not users who do not belong to that group?

Any idea or hints? Help is welcome!