Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading message for non-administrators #141

Closed
laulaz opened this issue Jul 27, 2023 · 1 comment
Closed

Misleading message for non-administrators #141

laulaz opened this issue Jul 27, 2023 · 1 comment

Comments

@laulaz
Copy link
Member

laulaz commented Jul 27, 2023

There are no scales to crop. Make sure to add them to the
<a href="#"
tal:define="
portal context/@@plone_portal_state/portal_url;
"
tal:attributes="
href string:$portal/@@imagecropping-settings;
"
i18n:name="link"
i18n:translate=""
>
List of scales with crop support</a>
in the controlpanel.

This message should not be shown to Editors (!= Administrators), because we point them to the @@imagecropping-settings configlet restricted to cmf.ManagePortal permission.

@laulaz
Copy link
Member Author

laulaz commented Oct 10, 2023

Fixed in #149

@laulaz laulaz closed this as completed Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant