update_manager_access
- Versions
- 7
update_manager_access()
Determine if the current user can access the updater menu items.
This is used as a menu system access callback. It both enforces the 'administer software updates' permission and the global killswitch for the authorize.php script.
See also
Code
modules/update/update.module, line 250
<?php
function update_manager_access() {
return variable_get('allow_authorize_operations', TRUE) && user_access('administer software updates');
}
?>Login or register to post comments 