diff --git a/charts.module b/charts.module index d29ca457dfcea5f7449918076c855d976f9e388c..22f5e2cb8d48ffa9886afd864fc2612cf0d941cd 100644 --- a/charts.module +++ b/charts.module @@ -42,7 +42,7 @@ function charts_chart_types() { */ function charts_menu() { $items['admin/settings/charts'] = array( - 'access arguments' => array('access administration pages'), + 'access arguments' => array('set default settings for charts'), 'description' => 'Set the default behaviour and look of all your charts', 'file' => 'charts.admin.inc', 'page callback' => 'drupal_get_form', @@ -52,6 +52,13 @@ function charts_menu() { return $items; } +/** + * Implementation of hook_perm(). + */ +function charts_perm() { + return array('set default settings for charts'); +} + /** * Implementation of hook_requirements(). */