Commit b477ed1
committed
fix(permissions): allow reading draft media files
* Listing a draft's media files requires the same permission as for
reading regular draft files, i.e. record owners and other users with
"read"-like permissions on the draft.
* This fixes actually a permissions issue on request detail pages, where
the owner of the draft/record wasn't able to see the page, if there
were draft media files (e.g. PTIFF tiles for PDFs and images).1 parent aeba423 commit b477ed1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments