[ http://jira.magnolia.info/browse/MAGNOLIA-1692?page=all ]
Sameer Charles resolved MAGNOLIA-1692. -------------------------------------- Fix Version/s: 3.1 RC1 Resolution: Fixed > Possibility to create role based filesystem cache > ------------------------------------------------- > > Key: MAGNOLIA-1692 > URL: http://jira.magnolia.info/browse/MAGNOLIA-1692 > Project: Magnolia > Issue Type: New Feature > Components: cache > Affects Versions: 3.1 M3 > Reporter: Sameer Charles > Assigned To: Sameer Charles > Priority: Minor > Fix For: 3.1 RC1 > > > In one of my projects I need to have role based caching, basically I only > need to manipulate cacheKey to include > an MD5 of all roles assigned to the current user (collected recursively from > all groups/subgroups). > Any objection on adding a new filter to cache package to support this > behaviour?, in future this can be used as a default cache filter but for > 3.1 we can keep the existing CacheFilter (comments?). > This will need minor refactoring of existing cache filter to allow creating > extensions like this one. > I can also implement custom CacheManager but then we need to configure > CacheManager on every cache filter in a chain to allow > custom behaviour, IMO first approach is cleaner and gives much better control > on how you want to manage cache store and you are not forced to use > single strategy over the entire system. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia.info/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------