In the process of debugging why KDE sees Exchange calendars through davmail as read-only (cf. https://bugs.kde.org/show_bug.cgi?id=303861 ), we noticed that davmail returns "<D:privilege><D:read/><D:write/></D:privilege>" whether I have write permissions or not.
That is really inconvenient, since KDE will choose the first read-write calendar as the default one, and if I forget to change it to one that I may actually write to, I am getting an error (which does not go away easily, because Akonadi will try again and again, with the erroneous entry stuck in the queue).
I would like davmail to check permissions on the Exchange server side, and publish them following RFC 3744 (which it obviously does not yet do, hence the above KDE bug).
Just to be really unambiguous, there are two problems:
1.) Currently, it is not possible to write to calendars via davmail from KDE, because RFC 3744 is not followed, and all calendars appear read-only. Grégory is about to fix that in KDE/Akonadi.
2.) It is not possible to discern calendars with and without write permissions from the davmail responses, because the D:current-user-privilege-set always seem to contain read and write privileges. When 1) is fixed in KDE, this will still be annoying in practice.
Well, would need to find a way to get actual permissions on calendar folder over both WebDav and EWS.
Don't know any way to detect permissions on folder over EWS