diff options
Diffstat (limited to 'modules/dblog')
-rw-r--r-- | modules/dblog/dblog.module | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/dblog/dblog.module b/modules/dblog/dblog.module index 0fb1d093c..f5d74c4b4 100644 --- a/modules/dblog/dblog.module +++ b/modules/dblog/dblog.module @@ -47,6 +47,7 @@ function dblog_menu() { 'description' => 'Settings for logging to the Drupal database logs. This is the most common method for small to medium sites on shared hosting. The logs are viewable from the admin pages.', 'page callback' => 'drupal_get_form', 'page arguments' => array('dblog_admin_settings'), + 'access arguments' => array('administer site configuration'), 'file' => 'dblog.admin.inc', ); @@ -54,6 +55,7 @@ function dblog_menu() { 'title' => 'Recent log entries', 'description' => 'View events that have recently been logged.', 'page callback' => 'dblog_overview', + 'access arguments' => array('access site reports'), 'weight' => -1, 'file' => 'dblog.admin.inc', ); @@ -62,6 +64,7 @@ function dblog_menu() { 'description' => "View 'page not found' errors (404s).", 'page callback' => 'dblog_top', 'page arguments' => array('page not found'), + 'access arguments' => array('access site reports'), 'file' => 'dblog.admin.inc', ); $items['admin/reports/access-denied'] = array( @@ -69,12 +72,14 @@ function dblog_menu() { 'description' => "View 'access denied' errors (403s).", 'page callback' => 'dblog_top', 'page arguments' => array('access denied'), + 'access arguments' => array('access site reports'), 'file' => 'dblog.admin.inc', ); $items['admin/reports/event/%'] = array( 'title' => 'Details', 'page callback' => 'dblog_event', 'page arguments' => array(3), + 'access arguments' => array('access site reports'), 'type' => MENU_CALLBACK, 'file' => 'dblog.admin.inc', ); |