Bug 39839 - Live area requires a page refresh to display user-specific dynamic elements
Summary: Live area requires a page refresh to display user-specific dynamic elements
Status: NEW
Alias: None
Product: Lenya
Classification: Unclassified
Component: Access Control (show other bugs)
Version: Trunk
Hardware: Other Linux
: P3 normal
Target Milestone: 2.0.1
Assignee: Lenya Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-19 21:55 UTC by Jonathan Addison
Modified: 2007-07-16 03:07 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Addison 2006-06-19 21:55:35 UTC
When using the Access Control Transformer to create different left menus for
different users, the new left menu entries do not appear after logging in until
after a manual page refresh.

The only temporary solution is to turn off the caching of the live area but this
can't be used in production.  Perhaps a solution would be to cache based on the
user/group, but maybe someone has a better idea.
Comment 1 solprovider 2006-06-19 22:18:26 UTC
For solving this in Lenya 1.2, see:
http://solprovider.com/lenya/cache

For Lenya 1.3, this is integrated in the "cache" Module (available in the
repository.)

The concept is to only disable caching when logged in.  We could implement
personal caches, but that would become complicated and create tons of rarely
needed files.