[prev in list] [next in list] [prev in thread] [next in thread] 

List:       drupal-support
Subject:    [support] custom views urls and 'access administration pages'
From:       Sharon Knieper <shakniep () umich ! edu>
Date:       2011-01-25 22:53:44
Message-ID: 20110125175344.90899z4ziumiuykg () web ! mail ! umich ! edu
[Download RAW message or body]

Hi,

I have an oddity that I need explained to me. I made a custom menu  
with links to various custom views. The views urls begin like this:  
mysite/admin/registrations/%
The view arg(2) value is a node id argument and the default value  
'all' displays all values. I created a menu item called 'current  
registrations' mapped to 'mysite/admin/registrations/all'. In the  
custom menu this link failed to appear unless the user has the 'access  
administration pages' permission. I assume it has something to do with  
the fact that I used 'admin' as my first argument. However, other  
links that have an additional argument after the wildcard DO appear  
for those without the permission. So  
'mysite/admin/registrations/all/past' DOES appear for those without  
the permission. Side note: There are no permission restrictions on the  
view.

Can someone explain to me what is going on here? Thanks!
Sharon
-- 
[ Drupal support list | http://lists.drupal.org/ ]
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic