[Grok-dev] Re: defining permissions in a module

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Jul 23 11:42:19 EDT 2007


> But at least now you know of this limitation  - or are there actullay
> better ways to keep permissions in a central place?

What you could do as a workaround is to explicitely grok the
permission module from the __init__.py of you application...

This *does* work, but still feel ugly as in fact the permissions will
get registered twice. In practice this cannot really hurt, but, well,
feels ugly :-)

regards,
jw

-- 
Jan-Wijbrand Kolman


More information about the Grok-dev mailing list