<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.0">
</HEAD>
<BODY>
Hi <BR>
Change your access callback from TRUE<BR>
and add the name of the permission as an access argument, don't use a role - as these change by site - use a permission instead.<BR>
Eg<BR>
$items['admin/store/free_subscription'] = array(<BR>
'title' => 'free_subscription_form',<BR>
'description' => 'free_subscription_form',<BR>
'page callback' => 'free_subscription_form',<BR>
'access arguments' => array('some permission name'), <BR>
'type' => MENU_CALLBACK,<BR>
);<BR>
On Thu, 2011-03-10 at 16:06 -0500, John Mitchell wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
How do I restrict the custom urls (listed below) to a specific role?<BR>
}<BR>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>