summaryrefslogtreecommitdiff
path: root/tbc_external_review.module
diff options
context:
space:
mode:
authorJayaram Pai2014-03-03 15:22:53 +0530
committerJayaram Pai2014-03-03 15:22:53 +0530
commitb25495345b5a65e1658354bcb3d8979811c003a3 (patch)
tree8a4551ecc0ac77d0a57402d6ce667bcba1890c34 /tbc_external_review.module
parentb311f3e3d083ffeeb8ece1ab7601133201af416e (diff)
downloadtbc-external-review-b25495345b5a65e1658354bcb3d8979811c003a3.tar.gz
tbc-external-review-b25495345b5a65e1658354bcb3d8979811c003a3.tar.bz2
tbc-external-review-b25495345b5a65e1658354bcb3d8979811c003a3.zip
removed access callback: TRUE
Diffstat (limited to 'tbc_external_review.module')
-rw-r--r--tbc_external_review.module10
1 files changed, 4 insertions, 6 deletions
diff --git a/tbc_external_review.module b/tbc_external_review.module
index 2998e7a..1a7de9a 100644
--- a/tbc_external_review.module
+++ b/tbc_external_review.module
@@ -42,21 +42,20 @@
"title" => "External Review Comments",
"page callback" => "tbc_external_review_comments_all",
"access arguments" => array("download tbc_external_review"),
- "access callback" => TRUE,
"weight" => 30,
"type" => MENU_NORMAL_ITEM,
);
$items["tbc_external_review/comments/new"] = array(
"title" => "New Comment",
"page callback" => "tbc_external_review_comments_all",
- "access callback" => TRUE,
+ "access arguments" => array("download tbc_external_review"),
"weight" => 1,
"type" => MENU_DEFAULT_LOCAL_TASK,
);
$items["tbc_external_review/comments/view"] = array(
"title" => "View Comments",
"page callback" => "tbc_external_review_comments_view_all",
- "access callback" => TRUE,
+ "access arguments" => array("download tbc_external_review"),
"weight" => 2,
"type" => MENU_LOCAL_TASK,
);
@@ -70,21 +69,20 @@
"title" => "ER View Status",
"page callback" => "tbc_external_review_view_status_all",
"access arguments" => array("administer tbc_external_review"),
- "access callback" => TRUE,
"weight" => 30,
"type" => MENU_NORMAL_ITEM
);
$items["tbc_external_review/view_status/all"] = array(
"title" => "All",
"page callback" => "tbc_external_review_view_status_all",
- "access callback" => TRUE,
+ "access arguments" => array("administer tbc_external_review"),
"weight" => 1,
"type" => MENU_DEFAULT_LOCAL_TASK,
);
$items["tbc_external_review/view_status/recent"] = array(
"title" => "Recently Completed",
"page callback" => "tbc_external_review_view_status_recent_all",
- "access callback" => TRUE,
+ "access arguments" => array("administer tbc_external_review"),
"weight" => 2,
"type" => MENU_LOCAL_TASK,
);