Closed (fixed)
Project:
Fasttoggle
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Aug 2007 at 07:28 UTC
Updated:
4 Sep 2007 at 10:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
squaretone commentedIf you log in as user 1 you can see the settings page propperly. It would seem that the 'administer fasttoggle' option was left out of the implementation of hook_perm()
to fix,
change line 77 from:
return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments');to:
return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments', 'administer fasttoggle');Comment #2
squaretone commentedIf you log in as user 1 you can see the settings page properly. It would seem that the 'administer fasttoggle' option was left out of the implementation of hook_perm()
to fix,
change line 77 from:
return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments');to:
return array('promote posts', 'make posts sticky', 'moderate posts', 'moderate users', 'moderate comments', 'administer fasttoggle');Comment #3
Christefano-oldaccount commentedThanks, squaretone. Works for me.
Comment #4
kkaefer commentedThanks a lot for figuring this out! I committed the patch.
Comment #5
(not verified) commented