[development] Deleting Cached Permissions
sysop at scbbs.com
sysop at scbbs.com
Sun Aug 26 13:44:15 UTC 2007
> Date: Sat, 25 Aug 2007 10:12:51 -0700
> From: David Metzler:
>
> The earliest hook avialable to you is hook_init. I use it
> successfully to require auth for specific pages in my cas module. Be
> careful not to rely on the arg() function. It is not always
> defined when caching is enabled.
>
> Dave
Thanks! Putting both the cache_clear_all() and user_access('', NULL,
TRUE) statements in hook_init() totally works!
Submitted patch for Drupal core here: http://drupal.org/node/170524
-ron
More information about the development
mailing list