Deny access to 'node' and 'node/add' URLs for non admin users

This commit is contained in:
Manuel Cillero 2017-09-19 20:52:59 +02:00
parent 86b7e754b6
commit 0ac7a5d805
4 changed files with 13 additions and 11 deletions

View file

@ -644,7 +644,7 @@ function stormevent_storm_dashboard_links($type) {
'icon' => 'stormcalendar-item',
'path' => 'calendar',
'params' => array(),
'access_arguments' => 'create stormevent content',
'access_arguments' => 'Storm event: access',
'node_type' => 'stormevent',
'add_type' => 'stormevent',
'map' => array(),