Mercurial > defr > drupal > core
diff modules/trigger/trigger.module @ 5:2427550111ae 6.2
Drupal 6.2
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:08 +0100 |
parents | c1f4ac30525a |
children |
line wrap: on
line diff
--- a/modules/trigger/trigger.module Tue Dec 23 14:29:21 2008 +0100 +++ b/modules/trigger/trigger.module Tue Dec 23 14:30:08 2008 +0100 @@ -1,5 +1,5 @@ <?php -// $Id: trigger.module,v 1.13 2008/01/21 20:08:15 goba Exp $ +// $Id: trigger.module,v 1.13.2.1 2008/04/09 21:11:51 goba Exp $ /** * @file @@ -49,6 +49,7 @@ 'title' => 'Content', 'page callback' => 'trigger_assign', 'page arguments' => array('node'), + 'access callback' => 'trigger_access_check', 'access arguments' => array('node'), 'type' => MENU_LOCAL_TASK, 'file' => 'trigger.admin.inc', @@ -57,6 +58,7 @@ 'title' => 'Users', 'page callback' => 'trigger_assign', 'page arguments' => array('user'), + 'access callback' => 'trigger_access_check', 'access arguments' => array('user'), 'type' => MENU_LOCAL_TASK, 'file' => 'trigger.admin.inc', @@ -83,6 +85,7 @@ 'title' => 'Cron', 'page callback' => 'trigger_assign', 'page arguments' => array('cron'), + 'access arguments' => array('administer actions'), 'type' => MENU_LOCAL_TASK, 'file' => 'trigger.admin.inc', ); @@ -112,6 +115,7 @@ 'description' => 'Unassign an action from a trigger.', 'page callback' => 'drupal_get_form', 'page arguments' => array('trigger_unassign'), + 'access arguments' => array('administer actions'), 'type' => MENU_CALLBACK, 'file' => 'trigger.admin.inc', );