mirror of
https://github.com/suitenumerique/drive.git
synced 2026-08-17 20:15:40 +02:00
Sharing a folder with many contacts one call at a time is slow and can leave a partial state when one of them fails. This endpoint accepts a list of email/role rows, validates them all before any write, then creates accesses for known users and invitations for unknown emails. Rows targeting users already covered by an equal or higher role are skipped and reported so the client can inform the user. The feature is disabled by default and gated by the new ALLOW_SHARE_IMPORT_FILE setting exposed in the config endpoint.