7.x update.module update_manager_access()

Access callback: Resolves if the current user can access updater menu items.

It both enforces the 'administer software updates' permission and the global kill switch for the authorize.php script.

Return value

TRUE if the current user can access the updater menu items; FALSE otherwise.

See also


1 call to update_manager_access()
_update_requirement_check in modules/update/update.install
Fills in the requirements array.
1 string reference to 'update_manager_access'
update_menu in modules/update/update.module
Implements hook_menu().


modules/update/update.module, line 263
Handles updates of Drupal core and contributed projects.


function update_manager_access() {
  return variable_get('allow_authorize_operations', TRUE) && user_access('administer software updates');