[development] Deleting Cached Permissions
earnie at users.sourceforge.net
Fri Aug 24 12:36:54 UTC 2007
Quoting Ron Parker <sysop at 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.
More information about the development