Closed (fixed)
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2012 at 23:53 UTC
Updated:
4 Mar 2012 at 17:20 UTC
Jump to comment: Most recent file
When logged in as User 1 on the site I have to have one of the roles that are allowed to see the debug blocks. We should make User 1 the exception (this is usually the standard). I would hate to go and create a role that is only used for allowing User 1 to see the debug blocks.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | omega-debug-user-1-1408516-2.patch | 892 bytes | cellar door |
| #3 | omega-debug-user-1-1408516-2.patch | 891 bytes | cellar door |
| #1 | omega-debug-user-1-1408516-2.patch | 898 bytes | cellar door |
Comments
Comment #1
cellar door commentedPatched the Alpha template.php to look for the uid as well as the role of the user.
Comment #2
fubhy commentedPlease use $GLOBALS['user']->uid instead. Other than that it looks fine to me.
Comment #3
cellar door commentedFixed w/ the new patch
Comment #4
cellar door commentedComment #5
cellar door commentedNow with the right fix :)
Comment #6
cellar door commentedSimple fix
Comment #7
himerus commentedpatch failed to apply cleanly, but the one-liner was easy enough just to paste in.
Added to 3.1 release.