Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jun 2011 at 08:10 UTC
Updated:
7 Jul 2011 at 19:52 UTC
The biggest fix is that if a user can't see the plugin we don't return drupal_not_found(). Also the access check was weird -- checking if the user has logged in.
1) Patch now returns early if there's no access.
2) Patch checks access using user_access()
| Comment | File | Size | Author |
|---|---|---|---|
| fix-user-profile.patch | 1.12 KB | amitaibu |
Comments
Comment #1
merlinofchaos commentedOh man. That drupal_not_found() was STILL in there? I feel bad about that. I've seen it at least twice and I never actually come back around and fix it. Thanks for the patch!
Comment #2
merlinofchaos commentedI also backported this to 6.x, just changed the clone to drupal_clone() -- everything else seems okay.