From c446c2b1a27df3e38ad788f2ed5cd4d0415b58d3 Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Mon, 28 Jul 2014 17:02:22 +0530 Subject: added new permission for viewing applications --- job_portal.module | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- cgit