Closed (fixed)
Project:
Boxes
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jul 2010 at 19:33 UTC
Updated:
9 Aug 2010 at 19:40 UTC
Jump to comment: Most recent file
theme_boxes_box() exposes 'edit' and 'cancel' links regardless of the user's permissions. Clicking on the 'edit' link as a user with insufficient permissions results in an ajax error (js popup).
Patch coming.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 859750-1_protect_controls.patch | 2.37 KB | alex_b |
Comments
Comment #1
alex_b commentedComment #2
jmiccolis commentedCommitted, with one change; using boxes_access_admin() to check permissions instead of going after "administer blocks" directly. This way we keep spaces happy.
Thanks for the patch!