When I share a directory with a group and then add a person to that group, the share will not directly be accepted, but a notification will be shown that would let the user accept the share.
The main question is: Is there any way to accept such a share via OCS (or any other kind or scriptable) API?