[Grok-dev] Re: Grok in Zope 2: Paris Sprint first day wrap up:
regebro at gmail.com
Sat Apr 26 04:06:29 EDT 2008
On Sat, Apr 26, 2008 at 2:40 AM, Martijn Faassen <faassen at startifact.com> wrote:
> Hi there,
> With "security grokkers", you mean the grokkers for grok.Permission and grok.Role? I think the problem will be that these grokkers use Zope 3 APIs that don't exist in Zope 2. When you actually *register* a view, you'll also have to use a different API than using a Zope 3 checker, I think.
I think you are right. We'll see what code ends up being the same
between Zope3 grokkers and Zope 2 grokkers, and if it makes sense we
can think about factoring that out then.
> I think this is fine, as long as Martian isn't going to rely on ExtensionClass in any real way upon normal installation.
Nope, it's just going to import it if it exists.
> I imagine we'll see more of this kind of issue as we see more meta-classes, so it's probably a
> good idea to work out some more general approach eventually. That said, if we can get rid
> of this immediate problem with about 5 or 6 lines we should do so.
Lennart Regebro: Zope and Plone consulting.
+33 661 58 14 64
More information about the Grok-dev