Restrict sharing “Allow users to share via link” -> for specific group

I want to disable:
“Allow users to share via link”
but only for a selected group of users. is this possible anyhow?

I’m running snap version and I don’t need multi-tenancy or want to install a second setup and federate.

Hi, this is currently not possible, afaik. But there is an open PR regarding this: Add option to exclude groups from creating link shares by icewind1991 · Pull Request #26727 · nextcloud/server · GitHub

Perhaps you search this option.

Unbenannt

https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/file_sharing_configuration.html

1 Like

thx, but I think the PR should be the solution:

as I only want to restrict to share public links.
internally they still need to be able to share links.