Currently, if you give a user the Flush ImageCache permission, there is no way for them to access the preset flush pages through the admin interface. For example, when using admin_menu there is no visible link fot /admin/build/imagecache in the menu.

I propose that the /admin/build/imagecache page should be accessible to uses with the Flush Imagecache permission, and if they visit that page, but do not also have the Administer Imagecache permission, then they should see only the Flush links (and not edit, revert or export).

Comments

mrfelton’s picture

StatusFileSize
new59.63 KB

Like in this mockup.

mrfelton’s picture

Status: Active » Needs review
StatusFileSize
new4.6 KB

Something like this

travismiller’s picture

Status: Needs review » Reviewed & tested by the community

I've tested and am using this patch on 6.x-2.0-beta10. Works nicely. Thanks mrfelton!

drewish’s picture

Title: Users with Flush ImageCache permission acn not access /admin/build/imagecache » Users with Flush ImageCache permission can not access /admin/build/imagecache

Yeah we should figure this out. I think we could simplify this patch a bit.

fizk’s picture

Status: Reviewed & tested by the community » Closed (fixed)
Issue tags: +ImageCache 2.x Todo

Marking as ImageCache 2.x Todo.