-
Improvement
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
While working on MAGNOLIA-2245, previewMode is being moved from info.magnolia.cms.util.Resource to AggregationState.
Given the InterceptFilter is setting this flag, and uses the session to do so, it seems we could use a cleaner implementation.
Using the session is somehow still needed, for instance to serve resources / images appropriately.
One of the things that bother me with the current implementation is that gui components access the aggregation state freely (global state) - this c/should instead be passed to the output methods.
Acceptance criteria
- is related to
-
MAGNOLIA-2245 Review and suppress usage of deprecated code
- Closed
-
MAGNOLIA-3206 adminOnly property of EditButton tag is ignored
- Closed