Federation and resharing

Using Nextcloud 14 on Rasperian Stretch.

I share a folder using federation share user@nextcloudserver.com
I uncheck “can reshare” option.

Expected behavior:
The person I shared it with can’t further share this folder

Actual behavior:
The person I shared it with can share it. When that person selects share, he can check the share link or share with others via email. I expected the share options to not show when “can reshare” is not checked.

Can you please create a bug report on https://github.com/nextcloud/server/issues?

Bug report opened.