diff options
Diffstat (limited to 'modules/user.module')
-rw-r--r-- | modules/user.module | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/user.module b/modules/user.module index 3ccfff64d..435ba4956 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1219,6 +1219,8 @@ function user_admin_perm($edit = array()) { if ($perm) { db_query("INSERT INTO {permission} (rid, perm) VALUES (%d, '%s')", $role->rid, $perm); } + // clear the cache, we might have changed the anonymous user's permissions + cache_clear_all(); } } |