summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-28 17:02:22 +0530
committerJayaram R Pai2014-07-28 17:02:22 +0530
commitc446c2b1a27df3e38ad788f2ed5cd4d0415b58d3 (patch)
tree3228dad4a4b77704bc853dd44586eac003a5b9c5
parentb2e21136393b716eadb9eb44fad672f705e96821 (diff)
downloadjob_portal-c446c2b1a27df3e38ad788f2ed5cd4d0415b58d3.tar.gz
job_portal-c446c2b1a27df3e38ad788f2ed5cd4d0415b58d3.tar.bz2
job_portal-c446c2b1a27df3e38ad788f2ed5cd4d0415b58d3.zip
added new permission for viewing applications
-rw-r--r--job_portal.module6
1 files changed, 5 insertions, 1 deletions
diff --git a/job_portal.module b/job_portal.module
index 6cbaf72..bc98aa5 100644
--- a/job_portal.module
+++ b/job_portal.module
@@ -5,6 +5,10 @@
"title" => t("Access Job Portal"),
"description" => t("Allows users to view job postings.")
),
+ "manage job_portal" => array(
+ "title" => t("Manage Job Portal"),
+ "description" => t("Allows users to manage job postings.")
+ ),
);
}
@@ -25,7 +29,7 @@
$items["jobs/view-applications"] = array(
"title" => "FOSSEE Job Portal - View Applications",
"page callback" => "job_portal_view_application_page",
- "access arguments" => array("access job_portal"),
+ "access arguments" => array("manage job_portal"),
"type" => MENU_CALLBACK,
);
return $items;