Decouple administer permissions from system module "access administration pages" permissions
monotaga - June 10, 2009 - 22:00
| Project: | Addresses |
| Version: | 6.x-1.05 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
<?php
/**
* Implementation of hook_perm().
*/
function addresses_perm() {
return array('administer addresses');
}
?>should be added and changes made to addresses_menu().

#1
I created a patch for the above issue.
#2
#3
Not to clutter things, but I've written a patch for this as well (see attached).
#4
+1
I prefer monotaga's patch in #1. I think defining a constant as in #3 is unnecessary.