Issue [#1120980] by stephen Verdant: Simplemenu missing for roles other than root administrator
This commit is contained in:
parent
5427717666
commit
072342016d
@ -268,10 +268,17 @@ function simplemnu_get_zindex($name, $default) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of hook_perm().
|
* Implementation of hook_permission().
|
||||||
*/
|
*/
|
||||||
function simplemenu_perm() {
|
function simplemenu_permission() {
|
||||||
return array('view simplemenu', 'administer simplemenu');
|
return array(
|
||||||
|
'view simplemenu' => array(
|
||||||
|
'title' => t('See and use the Simplemenu'),
|
||||||
|
),
|
||||||
|
'administer simplemenu' => array(
|
||||||
|
'title' => t('Administer the Simplemenu'),
|
||||||
|
),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user