[drupal-devel] [bug] Changing roles for a user requires menu cache invalidate

JonBob drupal-devel at drupal.org
Thu Jan 27 17:34:04 UTC 2005

 Project:      Drupal
 Version:      cvs
 Component:    user.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  moshe weitzman
 Updated by:   JonBob
-Status:       active
+Status:       patch
 Attachment:   http://drupal.org/files/issues/menu_18.patch (1.51 KB)

Fixed by adding ability to invalidate cache only for one user.


Previous comments:

December 31, 2004 - 13:46 : moshe weitzman

When you remove a user from a given role, the effect is often not seen
for a long time since the user's menu remains in cache. we should
invaidate the menu cache for a user whenh is roles change (or anytime
the $user is saved?).

This same bug is apparent when you grant new roles to a user.

View: http://drupal.org/node/14977
Edit: http://drupal.org/project/comments/add/14977

More information about the drupal-devel mailing list