Prevent user to reshare folder but allow files only

Hello,

is there a way with Nextcloud to prevent user to reshare folder ? and allow only file resharing?
the idea is to avoiding user to share a global sub-folder from a shared folder.

thanks :slight_smile: