Anyone can access to admin pages: "admin/structure/tagadelic_taxonomy"

function tagadelic_taxonomy_menu() {
$items['tagadelic_taxonomy'] = array(
'title' => 'Tag Cloud',
'page callback' => 'tagadelic_taxonomy_cloud',
'access callback' => TRUE,
'expanded' => TRUE,
);
# Admin pages
$items['admin/structure/tagadelic_taxonomy'] = array(
'title' => 'Tag Cloud',
'page callback' => 'tagadelic_taxonomy_admin',
'access callback' => TRUE, // REALLY????
);
return $items;
}

Comments

Bèr Kessels’s picture

Status:Active» Closed (duplicate)