24 Aug
2007
24 Aug
'07
2:36 p.m.
Quoting Ron Parker <sysop@scbbs.com>:
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.
Have you considered that maybe cache_filter is the issue rather than user_accesses $perm? I don't understand why the cached permission of an authenticated user would interfere unless the permissions are changing for some reason. Earnie