You are here

function boxes_access_admin in Boxes 7

Same name and namespace in other branches
  1. 6 boxes.module \boxes_access_admin()

Access check for whether current user should be able to administer boxes.

2 calls to boxes_access_admin()
boxes_add_js in ./boxes.module
Add JavaScript to the page.
boxes_spaces_dashboard_block_access_alter in ./boxes.module
Implements hook_spaces_dashboard_block_access_alter().

File

./boxes.module, line 60
Core functionality for boxes module.

Code

function boxes_access_admin() {
  return user_access('administer boxes') || module_exists('spaces') && spaces_access_admin();
}