Module Drupal 6:自定义模块上的访问被拒绝

Module Drupal 6:自定义模块上的访问被拒绝,module,drupal-6,Module,Drupal 6,我有这个模块,作为管理员用户,我可以正常访问这个模块。但当我向其他角色添加权限(并保存了权限)时,其他拥有权限的用户无法访问它。请帮帮我 代码如下: <?php include_once(drupal_get_path('module', 'tb') .'/tb.menu.inc'); include_once(drupal_get_path('module', 'tb') .'/tb.inc'); function tb_perm() { global $user; retur

我有这个模块,作为管理员用户,我可以正常访问这个模块。但当我向其他角色添加权限(并保存了权限)时,其他拥有权限的用户无法访问它。请帮帮我

代码如下:

<?php
include_once(drupal_get_path('module', 'tb') .'/tb.menu.inc');
include_once(drupal_get_path('module', 'tb') .'/tb.inc');

function tb_perm() {
  global $user;
  return array('trial_balance');
}

function tb_menu() {
  global $user;
  $items = array();

  $items['akuntansi/tb'] = array(
    'title' => 'Trial Balance',
  'type' => MENU_NORMAL_ITEM,
    'page callback' => 'tb_neracapage',
    'file' => 'tb.inc',
    'access arguments' => array('akuntansi'),
    'access callback' => TRUE,
    //'type' => MENU_CALLBACK,
  );

  $items['akuntansi/tb/pdf'] = array(
    'page callback' => 'tb_neracapage_pdf',
    'file' => 'tb.inc',
    'access arguments' => array('akuntansi'),
    'type' => MENU_CALLBACK,
  );
$items['akuntansi/tb/xls'] = array(
    'page callback' => 'tb_neracapage_xls',
    'file' => 'tb.inc',
    'access arguments' => array('akuntansi'),
    'type' => MENU_CALLBACK,
  );

  return $items;
}

?>

问题出在这里:

返回数组(“试算平衡”)

我应该:

返回数组('akuntansi')