Re: Optimising Local Role Security
Asko Soukka <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, a couple of thoughts: you should add <five:registerPackage package="." /> into configure.zcml to enable Extensions (for install/uninstall). See also: https://github.com/plone/plone.app.dexterity/blob/1.x/plone/app/dexterity/configure.zcml#L10 I would avoid <includeDependencies package="." /> magic in such critical package, but use explicit includes (also, removing grok would make this better dependency).(For me, just running the buildout and starting instance from the GitHub-version caused it to autoinclude p.a.robotframework, which makes no sense, because it should be a test dependency only). -Asko Matt Hamilton wrote: > Hi all, > I jus thought I’d point out one of the first by-products of the Plone Intranet project: > > http://www.netsight.co.uk/blog/optimising-local-role-security-reindexing-in-plone/ > https://pypi.python.org/pypi/experimental.securityindexing > https://github.com/ploneintranet/experimental.securityindexing > > We have managed to optimise the process by which Plone reindexes the allowedRolesAndUsers index. I’d love feedback from people on this. This is very much of use to intranets, but also any sites in which you have large amounts of content and you use the sharing tab frequently. > > As a side-issue we’ve noticed some Dexterity performance issues… which I’ll put in a separate thread. > > -Matt > ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs