Then, could someone help me with some process or procedure by which I could prevent user_access() from caching $perm or override the results of this caching? Even if I turn Drupal caching off, this function's caching of $perm still occurs, causing my module problems where it shouldn't have them. Thanks! -ron Quoting Ron Parker <sysop@scbbs.com>:
That is: The user_access() function sets a static variable $perm = array(). Permissions are cached in this variable. Can I create a function in my module that can update the $perm variable that is set in the user_access() function of the node.module?
A variable declared within a function is private to the function unless the function declares it as global. Earnie -- Ron Parker Software Creations http://www.scbbs.com Self-Administration Web Site http://saw.scbbs.com SDSS Subscription Mgmt Service http://sdss.scbbs.com Central Ave Dance Ensemble http://www.centralavedance.com R & B Salsa http://www.randbsalsa.com