mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
Stalwart before 0.16.6 implements an older JMAP File Storage draft whose rights are only `mayRead`, `mayWrite` and `mayShare`. Bulwark always sent the newer `mayAddChildren` / `mayRename` / `mayDelete` / `mayModifyContent`, so sharing a file or folder failed there with `Invalid permission "mayAddChildren"`, and the rights such a server reported did not match what the UI checks. When the account's filenode capability lacks `forbiddenNameChars` (added by the same draft update), shares are now written with `mayWrite` set from the finer rights, and `mayWrite` read from the server is spread over them.