Hi,

Is it possible to do not cache an action in symfony?

I've got such situation - some pages contains a different content for
a different users. For example - page owner sees all his content but
visitors sees only published content.

When I enable cache for such page and owner refresh it all visitors
can see not published content, because all security checks are
bypassed by cache.

I tried to move security check to preExecute, but it doesn't solve the
problem because all actions are bypassed when cache is enabled for a
certain action. Is there any way to execute an action before fetching
page from cache?

Regards,
Michal

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to