Give performance logging module real permissions

dalin - October 19, 2009 - 00:22
Project:Devel
Version:7.x-1.x-dev
Component:performance
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Currently the performance module displays its menu items to anyone with the 'access administration pages' perm. This means that on a big site content creators/editors will likely have access to the module settings. This patch creates a real permission called 'administer performance logging'.

AttachmentSize
performance_logging_perms.diff2.59 KB

#1

kbahey - October 19, 2009 - 16:35
Status:needs review» needs work

I like it. Can you create a patch for D7 as well?

#2

dalin - October 20, 2009 - 01:36
Version:6.x-1.x-dev» 7.x-1.x-dev
Status:needs work» needs review

Here's a patch for D7. Almost byte-for-byte equivalent to the D6 version.

AttachmentSize
performance_logging_perm_d7.diff 2.28 KB
 
 

Drupal is a registered trademark of Dries Buytaert.