Commit e7dcc14
emsmdb: make openstream treat MAPI_BEST_ACCESS as documented
MAPI_BEST_ACCESS is supposed to imply a fallback to readonly,
but this was not implemented.
This patch makes rop_openstream downgrade MAPI_BEST_ACCESS requests
to read-only when lacking the appropriate rights on the object,
instead of returning ecAccessDenied. Delegate users with only read
powers can now fetch attachment bodies like they were already able to
do with message exports. [The latter are handled via fxstream
–jengelh]
References: GXL-646, DESK-41301 parent 273d2b6 commit e7dcc14
2 files changed
+14
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
884 | | - | |
| 884 | + | |
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
901 | | - | |
902 | | - | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
903 | 906 | | |
904 | 907 | | |
905 | 908 | | |
| |||
922 | 925 | | |
923 | 926 | | |
924 | 927 | | |
925 | | - | |
926 | | - | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
927 | 933 | | |
928 | 934 | | |
929 | 935 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1560 | 1560 | | |
1561 | 1561 | | |
1562 | 1562 | | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1563 | 1566 | | |
1564 | 1567 | | |
1565 | 1568 | | |
| |||
0 commit comments