Skip to content

netsight/experimental.localrolesindex

Repository files navigation

https://api.travis-ci.org/netsight/experimental.localrolesindex.png https://coveralls.io/repos/netsight/experimental.localrolesindex/badge.png

experimental.localrolesindex

This package provides a specialised index for ZCatalog which reduces the number of objects that need to be examined in order to maintain local roles and user information.

When indexing an portal content, if the portal content implements the interface:

experimental.localrolesindex.interfaces.IDecendantLocalRolesAware

then indexing of descendant nodes will occur.

The tentative idea is to replace the existing KeywordIndex with the LocalRolesIndex defined herewith for 'allowedRolesAndUsers', and then to to change:

Products.CMFCore.CMFCatalogAware.CatalogAware.reindexObjectSecurity

such that instead of re-indexing object security for each descendant via a catalog query, it should instead call reindexObject once on the portal object and allow the experimental LocalRolesIndex to determine which children need to be re-indexed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages