Re: [development] Deleting Cached Permissions
26 Aug
2007
26 Aug
'07
3:44 p.m.
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
6874
Age (days ago)
6874
Last active (days ago)
0 comments
1 participants
participants (1)
-
sysop@scbbs.com