Closed (fixed)
Project:
ImageCache
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2009 at 01:01 UTC
Updated:
2 Jun 2012 at 21:15 UTC
I really like the simple and robust method of inserting imagecache presets in mymodule_imagecache_default_presets().
However, the preset comes up without any permissions. I want to be able to define minimum permissions in mymodule_imagecache_default_presets() to simplify users life, e.g. allow view by authenticated role and potentially by anonymous.
Then I expect it to be overridable (off or on) on the permissions page, same way as the preset can be overriden. I think "defaults" for permissions are not necessary, but would be nice to have.
For real use case see #575808: Create image preset using hook_imagecache_default_presets.
Comments
Comment #1
fizk commentedPlease reopn if this is still an issue with ImageCache 6.x-2.0-rc1.