Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1692

Possibility to create role based filesystem cache

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Minor
    • 3.5 RC1
    • 3.1 M3
    • cache
    • None

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              scharles Sameer Charles
              scharles Sameer Charles
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: