Sharing With Groups You’re Not A Member Of with Multiple Organisations

Dear Seafile Team,

according to your response in Sharing With Groups You’re Not A Member Of, enable the functionality ENABLE_SHARE_TO_ALL_GROUPS = True, so users can share with Groups there are not Member of it.

If we have multiple Organizations, all the Groups from alle the Organizations appears in the share dialog dropdown. This should not be, as Organizations are separated from eacht other. How can we enable sharing with groups the user is not member of it, but only in there Organization?

Settings we have set:

CLOUD_MODE = True
ENABLE_GLOBAL_ADDRESSBOOK = False

Thank you very much for your response.

ENABLE_SHARE_TO_ALL_GROUPS is a global level option.

n. This should not be, as Organizations are separated from eacht other. How can we enable sharing with groups the user is not member of it, but only in there Organization?

There is no such a feature yet.

Would it be possible to take it on the roadmap for one of the next release? As far as i can see this should be only a small update for /static/scripts/app/views/share.js or can you provide me a patch?

It make no sense that ENABLE_SHARE_TO_ALL_GROUPS is not filtering the results by organization as it is not possible to share Libraries between Orgs.

A better approach to address this would be to implement a per-organization setting. This would allow members to share libraries to any group within their own organization while maintaining the necessary isolation between different organizations.

We will evaluate the possibility of adding this as a per-org configuration in a future release to ensure that the group search/dropdown is correctly filtered by the user’s organization ID.