There should be a extra permisson for the config page of this module.
Currently there is the 'access administration pages' witch is a pretty basic permission.
<?php
/**
* Implementation of hook_menu().
*/
function realname_registration_menu() {
$items = array();
$items['admin/config/people/realname_registration'] = array(
'title' => 'Realname registration',
'description' => 'Administer settings for Realname registration.',
'page callback' => 'drupal_get_form',
'page arguments' => array('realname_registration_settings_form'),
'access arguments' => array('administer realname registration'),
'file' => 'realname_registration.admin.inc',
);
return $items;
}
/**
* Implements hook_permission().
*/
function realname_registration_permission() {
return array(
'administer realname registration' => array(
'title' => t('Administer settings for realname registration'),
'description' => t('This will allow to access the config page of realregistration.'),
),
);
}
?>
Comments
Comment #1
mvcThis has been fixed in dev.