Restrict Sharing Options for Groups

Hi!

I have created three groups in the Nextcloud user administration.

  • group1
  • group2
  • group3

Now I would like to achieve the following: The users in the group group2 and group3 should now be able to use all options for file sharing. For the users in group1 i only want to allow sharing with password. Sharing without password should not be possible for users in group1.

Is that somehow possible? NC Version: 18.0.4

Have seen in the options (/index.php/settings/admin/sharing) that groups can be completely disabled for sharing. But my use case does not seem to be covered by this.

Thanks,
Markus