[development] Tell if current page is viewable by anonymous users

Salgar salgar at gmx.net
Tue Feb 19 17:12:12 UTC 2008


Hi,

is there a way to determine (in a module) whether the current page can 
be viewed by anonymous users?

I've found user_access() and drupal_anonymous_user() - but this would 
require a node. Do all "public" pages have a node?

Kind regards,

Salgar


More information about the development mailing list