Skip to content

Commit c734f32

Browse files
committed
Add note about permissions in ImageScaling
1 parent 4f906e8 commit c734f32

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/classic-ui/images.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,9 @@ up | cover
106106
keep | scale
107107
thumbnail | scale
108108

109-
For now plone.namedfile is still expecting the direction argument with the old values.
109+
For now plone.namedfile is still expecting the direction argument with the old values.
110+
111+
## Permissions
112+
113+
The ImageScaling view is checking explicitly the permissions the current user has, in case you want to access objects which are normally not accessible to the current user, you have to override the validate_access method in ImageScale. In Products.EasyNewsletter you can find an example of that.
114+

0 commit comments

Comments
 (0)