[drupal-devel] Working around node_access in node/add

Moshe Weitzman weitzman at tejasa.com
Mon Feb 14 16:14:24 UTC 2005


> This successfully removes it from the menu and appears to deny access as 
> appropriate, but node_add doesn't seem to refer to menu settings when 
> displaying links to the various node/add/$type pages.  Therefore, 
> whatever settings I change in the menu have no bearing on what shows up 
> on the node/add page.  I end up with a bunch of links to "access denied" 
> pages.  Should node_add be checking the menu settings when displaying 
> its links?

Considering that the user will be denied access if he follows one of 
those links, I agree that node/add should be generated based on the menu.

-moshe




More information about the drupal-devel mailing list