Sig a écrit :
Using a local-role adapter, I can't let my custom content type be displayed in the "folderlisting" macro of the base_view of its parent container.
Reindexing the security of the object to be displayed solved this. For instance, whenever a specific attribute of the user changes, I trigger the reindexing of the objects that will be impacted by the local role adapter. The portal_catalog then becomes aware of the change in the local role computed from the attribute of the user and folderlisting gets updated as expected.
But... does this mean that whenever you make a local role adapter you also have to take care of triggering the reindexing of any impacted items whenever one of the condition taken into account by your adapter changes?
-- Sig _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
